/*
Theme Name: Michael Weinstein, Sculptor
Version: 6.1
Description: Customizable responsive accessible Wordpress child theme created by CyberOptik
Author: CyberOptik
Author URI: https://www.cyberoptik.net/
Template: optik-theme-6
*/





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

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



/* Add font imports here */

/***  Plus Jakarta Sans ***/


/* Italic */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: italic;
	src: url('fonts/plus_jakarta_sans/plus_jakarta_sans-italic.ttf');
	font-display: swap;
}
/* Regular */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-weight: 400;
	src: url('fonts/plus_jakarta_sans/plus_jakarta_sans-regular.ttf');
	font-display: swap;
}
/* Bold */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-weight: 700;
	src: url('fonts/plus_jakarta_sans/plus_jakarta_sans-bold.ttf');
	font-display: swap;
}
 

/***  Libertinus Sans ***/


/* Italic */
@font-face {
	font-family: 'Libertinus Sans';
	font-style: italic;
	src: url('fonts/libertinus_sans/libertinus_sans-italic.ttf');
	font-display: swap;
}
/* Regular */
@font-face {
	font-family: 'Libertinus Sans';
	font-weight: 400;
	src: url('fonts/libertinus_sans/libertinus_sans-regular.ttf');
	font-display: swap;
}
/* Bold */
@font-face {
	font-family: 'Libertinus Sans';
	font-weight: 700;
	src: url('fonts/libertinus_sans/libertinus_sans-bold.ttf');
	font-display: swap;
}





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



/***  UNIVERSAL STYLES  ***/

html {
	font-size: 16px;
}

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

body:not(.block-editor-page) {
	background-color: var(--wp--custom--light--1);	
}

@media (max-width: 901px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
	flex-basis: 100% !important; 
	}
}


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

.btt-button [class*="fa"] {
	border-radius: var(--wp--custom--radius--full);
	background-color: var(--wp--custom--primary--main);
	font-weight: 300;
	color: white;
}

.btt-button:hover [class*="fa"] {
	background-color: var(--wp--custom--dark--1);
	color: white;
}





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



/***  TEXT & LINKS  ***/

a {
	color: var(--wp--custom--dark--1);
}

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



/***  HEADINGS  ***/

h1, h2, h3, h4, h5, h6 {
	color: black;
	font-weight: 400;
	font-family: var(--wp--custom--font--2);
}

h1 {
	font-size: 3em;
}

h2 {
	font-size: 2.25em;
}

h3 {
	font-size: 1.75em;
}

h4 {
	font-size: 1.25em;
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: 0.85em;
}



/***  BORDERS & DIVIDERS  ***/

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



/***  BUTTONS  ***/

.wp-block-button__link i:before {
	    content: "\f178";
}

.field-wrap input[type=submit],
.button, 
.wp-block-button__link, 
.button-outline, 
.is-style-outline .wp-block-button__link {
	padding: 0 0 10px 0;
	border-color: transparent;
	background-color: transparent;
	color: var(--wp--custom--dark--1);
	font-weight: bold;
	border-bottom: 2px solid var(--wp--custom--dark--1);
	transition: all 300ms ease-in-out;


}
.field-wrap input[type=submit]:hover,
.button:hover, 
.wp-block-button__link:hover, 
.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: transparent;
	background-color: transparent;
	transform: translateY(-3px);
	color: var(--wp--custom--dark--1);
	border-bottom: 2px solid var(--wp--custom--dark--1);
}

.button [class*="fa"], 
.wp-block-button__link [class*="fa"], 
.button:hover [class*="fa"], 
.wp-block-button__link:hover [class*="fa"] {
	color: inherit !important;
}

/* Outlined Button */

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

.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);
}



/***  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, 
.arrow-list li [class*="fa"], 
.check-list li [class*="fa"], 
.check-circle-list li [class*="fa"], 
.icon-list li [class*="fa"], 
.contact-list li [class*="fa"] {
	color: var(--wp--custom--dark--1);
}



/***  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"], 
form button {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xs);
	color: white;
}

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

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





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

.masthead-link {
	padding: 12px 0;
}

/*TRANSPARENT HEADER*/
.header-wrap{
	position: absolute;
	z-index: 3;
}

/* SITE TITLE */
.home .site-title,
.parent-pageid-18260 .site-title,
.page-id-19218 .site-title {
	color: var(--wp--custom--primary--main);
}
.site-title {
    font-family: var(--wp--custom--font--2);
    color: #fff;
}
.scroll-masthead-link .site-title {
	color: #fff;
}

/***  SCROLL BAR  ***/
.scroll-bar {
	background-color: var(--wp--custom--dark--1);
}

.scroll-logo {
	max-height: 50px;
}



/***  TOP BAR  ***/

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



/***  HEADER  ***/

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

/* Menu Button */

.header .menu-button [class*="fa"], 
.header .menu-button:hover [class*="fa"] {
	color: var(--wp--custom--light--1);
}

.home .header .menu-button [class*="fa"], 
.parent-pageid-18260 .header .menu-button:hover [class*="fa"] { color: var(--wp--custom--primary--main); }

.header .menu-button.active [class*="fa"] {
	background-color: var(--wp--custom--primary--main);
	color: white;
}



/***  NAVBAR  ***/
.navbar {
}


/***  NAV MENUS ***/
.nav-menu > li > a, 
.nav-menu > li > span, 
.nav-menu > li > button {
	color: var(--wp--custom--light--2);
}

.single-post .nav-menu > li.posts-link > a, 
.category .nav-menu > li.posts-link > a, 
.single-service .nav-menu > li.services-link > a, 
.single-career .nav-menu > li.careers-link > a, 
.single-resource .nav-menu > li.resources-link > a, 
.nav-menu > li.current-menu-ancestor > a, 
.nav-menu > li.current-menu-ancestor > span, 
.nav-menu > li.current-menu-ancestor > button, 
.nav-menu > li.current-menu-item > a, 
.nav-menu > li.current-menu-item > span, 
.nav-menu > li.current-menu-item > button, 
.nav-menu > li:hover > a, 
.nav-menu > li:hover > span, 
.nav-menu > li:hover > button {
	color: var(--wp--custom--secondary--main);
}

/*
.nav-menu > li:not(.nav-button):after{
	position: absolute;
	bottom: 8px;
	left: 8px;
	right: 8px;
	height: 2px;
	background-color: transparent;
	content: '';
	transition: all 300ms ease-in-out;
}

.nav-menu > li.current-menu-item:after,
.nav-menu > li:hover:after{
	background-color: var(--wp--custom--light--1);
}
 */


/* Nav Button */

.nav-menu > li.nav-button {
	background-color: transparent !important;
	padding-right: 0;
}

.nav-menu > li.nav-button > a {
	margin-left: 10px;
	margin-right: 10px;
	background-color: var(--wp--custom--dark--1);
	color: white;
	border-bottom: 1px solid var(--wp--custom--dark--3);
}

.nav-menu > li.nav-button > a:hover {
	background-color: var(--wp--custom--secondary--main);
	border-bottom: 1px solid var(--wp--custom--dark--2);
}

/* Dropdowns */

.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, 
.nav-menu li ul > li > button {
	color: var(--wp--custom--dark--1);
}

.single-careers .nav-menu li ul li.careers-link > a, 
.nav-menu li ul li.current-menu-item > a, 
.nav-menu li ul li.current-menu-item > span, 
.nav-menu li ul li.current-menu-item > button, 
.nav-menu li ul li:hover > a, 
.nav-menu li ul li:hover > span, 
.nav-menu li ul li:hover > button {
	color: var(--wp--custom--secondary--main);
}

/* Nested Dropdowns */

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

/**** HOME & CHILD PAGES MENU NAV  ***/
.home .nav-menu > li > a, 
.home .nav-menu > li > span, 
.home .nav-menu > li > button, 

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


/* Nav button */
.home .nav-menu > li.nav-button > a,
.page-child .nav-menu > li.nav-button > a {
	color: var(--wp--custom--light--2) !important;
}
.home .nav-menu > li.nav-button > a:hover {
	background-color: var(--wp--custom--secondary--main);
	color: #fff;
}


.home .scroll-menu > li > a, 
.home .scroll-menu > li > span, 
.home .scroll-menu > li > button, 

.page-child .scroll-menu > li > a, 
.page-child .scroll-menu > li > span, 
.page-child .scroll-menu > li > button  {
	color: var(--wp--custom--light--2);
}

.home .nav-menu > li.current-menu-ancestor > a, 
.home .nav-menu > li.current-menu-ancestor > span, 
.home .nav-menu > li.current-menu-ancestor > button, 
.home .nav-menu > li.current-menu-item > a, 
.home .nav-menu > li.current-menu-item > span, 
.home .nav-menu > li.current-menu-item > button, 
.home .nav-menu > li:hover > a, 
.home .nav-menu > li:hover > span, 
.home .nav-menu > li:hover > button {
color: var(--wp--custom--secondary--main);
}

.page-child .nav-menu > li.current-menu-ancestor > a, 
.page-child .nav-menu > li.current-menu-ancestor > span, 
.page-child .nav-menu > li.current-menu-ancestor > button, 
.page-child .nav-menu > li.current-menu-item > a, 
.page-child .nav-menu > li.current-menu-item > span, 
.page-child.nav-menu > li.current-menu-item > button, 
.page-child .nav-menu > li:hover > a, 
.page-child .nav-menu > li:hover > span {
color: var(--wp--custom--secondary--main);
}



/***  HIDDEN NAV  ***/
.hidden-menu li a {
	color: var(--wp--custom--dark--1);
}

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





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



/***  BANNER  ***/
.banner-tall .banner-inner {
	min-height: 700px;
}
/* Tablet */
@media only screen and (min-width: 600px) and (max-width: 1200px) {
	.banner-tall .banner-inner {
		min-height: 400px;
	}
}

/* Mobile */
@media (max-width: 480px) {
	.banner-tall .banner-inner {
			min-height: 320px;
	}
}

.banner:before {
    background-size: 50%;
}

.banner:before {
	  filter: brightness(70%);
}


.banner {
	background-color: var(--wp--custom--dark--1);
}

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

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

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

.banner a:hover {
	color: white;
}



/***  HEADLINE BAR  ***/

.headline-wrap {
	text-align: left;
	margin-bottom: 20px;
}

.deck-wrap {
	text-align: left;
	font-size: 0.9em;
}

@media screen and (min-width:768px){
	.deck-wrap {
    width: 80%;
 }	
}


/***  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);
}


/*** SINGLE BLOG ***/
.post-cats-nav,
.single-post .post-nav{
	display: none;
}

.post-paging-nav {
	margin: 0 auto;
    text-align: center;
}


/***  MAIN  ***/

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



/***  ARCHIVE  ***/

/* Entry Cols */

.entry-cols .entry-link {
	border-radius: none;
	background-color: var(--wp--custom--light--2);
	overflow: hidden;
	color: var(--wp--custom--dark--2);
}

.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 {
		padding: 0 0 10px 0;
	border-color: transparent;
	background-color: transparent;
	color: var(--wp--custom--dark--1);
	font-weight: bold;
	border-bottom: 2px solid var(--wp--custom--dark--1);
}

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


/* Archive Pagination */

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

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

.archive-pagination a [class*="fa"], 
.archive-pagination a:hover [class*="fa"] {
	color: inherit !important;
	transition: all 0ms ease-in-out;
}



/***  SINGLE  ***/





/******************************************************************************
 * * *  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--light--2);
	color: var(--wp--custom--dark--1);
}

.cta-bar h1, 
.cta-bar h2, 
.cta-bar h3, 
.cta-bar h4, 
.cta-bar h5, 
.cta-bar h6 {
	color: var(--wp--custom--dark--1);
} 


/***  FOOTER  ***/

.footer {
	padding-top: var(--wp--custom--spacer--lg);
	padding-bottom: var(--wp--custom--spacer--lg);
	background-color: var(--wp--custom--light--2);
	font-size: 0.9em;
}

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

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


.footer h3{
	font-size: 1.75em
}


/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	background-color: var(--wp--custom--light--2);
	font-size: 0.9em;
	border-top: 1px solid var(--wp--custom--dark--3);
	padding: 30px 0 30px 0;
}

/* Menus */

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


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





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

/* Add custom theme styles here */

.

/***  ICON CARDS  ***/

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

.icon-cards .wp-block-column {
	background-color: var(--wp--custom--light--2);
	padding: var(--wp--custom--spacer--md) var(--wp--custom--spacer--sm);
	transition: all 350ms ease-in-out;
}

.icon-cards .wp-block-column:hover {
	background-color: var(--wp--custom--accent--1);
	color: white;
}

.icon-cards .wp-block-column .wp-block-heading, 
.icon-cards .wp-block-column .wp-block-heading a {
	color: var(--wp--custom--primary--main);
	border-bottom: none;
	transition: all 350ms ease-in-out;
}

.icon-cards .wp-block-column:hover .wp-block-heading, 
.icon-cards .wp-block-column:hover .wp-block-heading a, 
.icon-cards .wp-block-column:hover .wp-block-heading a:hover {
	color: white;
}

.icon-cards .wp-block-outermost-icon-block {
	justify-content: center;
}

.icon-cards .wp-block-heading:not(:first-child) {
	margin-top: 0.25em;
	font-size: 1.45em;
}



/*** HOMEPAGE ***/

@media screen and (min-width: 1201px) {
	body:not(.wp-admin) .show-below--xl { display: none; }
}

@media screen and (max-width:1200px) {
	.full-width-cols--xl { flex-wrap: wrap !important; }

	.full-width-cols--xl > .wp-block-column { flex-basis: 100% !important; }
}


/* .home-three-images .swiper{
-webkit-box-shadow: 0px 0px 5px 0px #333333; 
box-shadow: 0px 0px 5px 0px #333333;
} */

.home-three-images .swiper-button-prev { left: 20px; }
.home-three-images .swiper-button-next { right: 20px; }

@media screen and (max-width:1200px) {
.home-banner-bg {
	 /* background-attachment: scroll !important;
	background-size: auto !important; */
	background: none !important;
	}
}

/* @media screen and (max-width:900px) {
.home-banner-bg .wp-block-columns {
	padding-bottom: 200px;
}
} */


/* home and child pages swap header logo */
body.page-id-19218 .nav-menu.header-menu > li:not(.nav-button) > a:not(:hover), 
body.page-id-19218 .nav-menu.header-menu > li:not(.nav-button) > span:not(:hover), 
body.page-id-19218 .nav-menu.header-menu > li:not(.nav-button) > button:not(:hover) { color: black; }


.home .header-logo, 
.page-child .header-logo {
	 content: url('/wp-content/uploads/logo-black.png');
}


/* Move black "Michael Weinstein" box over the slider */
@media screen and (min-width:900px) {
.home-banner,
.home-banner-inner {
  overflow: visible;
}

body:not(.block-editor-page) .home-image-container .wp-block-group {
  position: relative;
  margin-bottom: -234px;
  z-index: 2;
}
}

@media screen and (max-width:900px) {
.home-image-container .wp-block-image,
.home-image-container .wp-block-group {
	max-width: 80%;
}
}


/*** GUTSLIDER ***/
.slider-contain .wp-block-gutsliders-photo-carousel .swiper-container-outer img {
    object-fit: contain;
}

/*** GLIGHTBOX ***/
.glightbox-clean .gdesc-inner {
    padding: 30px 15px;
    background-color: black;
}

.glightbox-clean .gslide-title {
    color: #fff;
    margin-bottom: 0;
	text-align: center;
}


/*** LIGHTBOX PLUGIN - captions ***/
#baguetteBox-overlay .full-image figcaption {
	text-transform: uppercase;
	background-color: rgb(0 0 0 / 52%);
	padding: 5px;
	bottom: 10px;

}

#baguetteBox-overlay .full-image figcaption strong {
	font-size: 17px;
}


#baguetteBox-overlay .full-image figcaption  {
	font-size: 0;
} 

/*** WP BLOCK GALLERY ***/
body:not(.block-editor-page) .wp-block-gallery,
body:not(.block-editor-page) .gallery-slider-container {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
  max-width: 100%;
  margin: 20px auto;
}

@media (min-width: 900px) {
body.page-id-18260:not(.block-editor-page) .wp-block-gallery,
body.page-id-18260:not(.block-editor-page) .gallery-slider-container,
	body.page-child:not(.block-editor-page) .wp-block-gallery,
body.page-child:not(.block-editor-page) .gallery-slider-container {
  height: 550px; /* Fixed height */
  min-height: 440px;
}
}
	


/* Handle both block gallery grid and regular figure elements */
body:not(.block-editor-page) .wp-block-gallery .blocks-gallery-grid,
body:not(.block-editor-page) .gallery-slider-wrapper {
  display: block !important;
  position: relative;
  width: 100%;

}

/* Hide all items by default */
body:not(.block-editor-page) .wp-block-gallery .blocks-gallery-item,
body:not(.block-editor-page) .wp-block-gallery .wp-block-image,
body:not(.block-editor-page) .wp-block-gallery figure,
body:not(.block-editor-page) .gallery-slider-wrapper figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important; /* Match container height */
  max-width: 100% !important;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Show active slide */
body:not(.block-editor-page) .wp-block-gallery .blocks-gallery-item.active,
body:not(.block-editor-page) .wp-block-gallery .wp-block-image.active,
body:not(.block-editor-page) .wp-block-gallery figure.active,
body:not(.block-editor-page) .gallery-slider-wrapper figure.active {
  opacity: 1;
  visibility: visible;
  position: absolute; /* Keep absolute for consistent positioning */
  z-index: 2;
}

/* Image styling */
body:not(.block-editor-page) .wp-block-gallery figure img,
body:not(.block-editor-page) .gallery-slider-wrapper figure img {
  width: 100%;
  height: 100%; /* Fill the container */
  display: block;
  max-height: 600px;
  object-fit: contain; /* or use 'cover' to fill completely */
  margin: 0 auto;
}

/* Link styling - keep links functional for lightbox */
body:not(.block-editor-page) .wp-block-gallery figure a,
body:not(.block-editor-page) .gallery-slider-wrapper figure a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
}

/* Arrow Navigation */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--wp--custom--primary--main);
  color: var(--wp--custom--light--1);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
  font-weight: bold;
  line-height: 1;
}

.gallery-nav:hover {
  transform: translateY(-50%) scale(1.4);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next:before,
.gallery-nav.prev:before {
  font-weight: 300;

}

.gallery-nav.next {
  right: 10px;
}

/* Dots Navigation */
.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21px;
  margin-top: 20px;
  padding: 0;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ddd;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.gallery-dot:hover {
  background: var(--wp--custom--secondary--light);
  transform: scale(1.15);
}

.gallery-dot.active {
  background: var(--wp--custom--secondary--light);
 transform: scale(1.15);
}

/* Caption Styling */
.wp-block-image :where(figcaption) {
  text-align: center;
}

body:not(.block-editor-page) .wp-block-gallery figcaption,
body:not(.block-editor-page) .gallery-slider-wrapper figcaption {
  text-align: center;
  margin-top: 15px;
  padding: 10px;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
font-size: 1rem;
background: linear-gradient(0deg,rgba(0, 0, 0, 0.36) 13%, rgba(0, 0, 0, 0) 100%);
	text-shadow: 1px 1px 10px #000000;

}

/* Responsive adjustments */
@media (max-width: 768px) {
  body:not(.block-editor-page) .wp-block-gallery .blocks-gallery-grid,
  body:not(.block-editor-page) .gallery-slider-wrapper {
    height: 450px;
    min-height: 450px;
  }
  
  body:not(.block-editor-page) .wp-block-gallery,
  body:not(.block-editor-page) .gallery-slider-container {
    padding: 0 40px;
  }
  
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  body:not(.block-editor-page) .wp-block-gallery figure img,
  body:not(.block-editor-page) .gallery-slider-wrapper figure img {
    max-height: 450px;
  }
}

@media (max-width: 480px) {
  body:not(.block-editor-page) .wp-block-gallery .blocks-gallery-grid,
  body:not(.block-editor-page) .gallery-slider-wrapper {
    height: 350px;
    min-height: 350px;
  }
  
  body:not(.block-editor-page) .wp-block-gallery,
  body:not(.block-editor-page) .gallery-slider-container {
    padding: 0 30px;
  }
  
  .gallery-nav {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
  .gallery-nav.prev {
    left: 0px;
  }
  
  .gallery-nav.next {
    right: 0px;
  }
  
  .gallery-dot {
    width: 10px;
    height: 10px;
  }
  
  .gallery-dots {
    gap: 8px;
  }
  
  body:not(.block-editor-page) .wp-block-gallery figure img,
  body:not(.block-editor-page) .gallery-slider-wrapper figure img {
    max-height: 350px;
  }
}

/*** EVENTS ***/
.single-tribe_events .wp-block-image {
	text-align: center;
}

/*** Link cards ***/
.link-cards .wp-block-column, 
.link-card {
	cursor: pointer;
	transition: all 300ms ease-in-out;
}

.link-cards hr {
	border: 1px;
}

.link-cards .wp-block-column:hover {
	transform: translateY(-3px);
}

.link-cards .wp-block-button a:hover,
.link-cards .wp-block-cover .wp-block-column:hover {
	 	transform: translateY(0px);
 }


 .link-cards h3 a:hover {
	 color: inherit;
 }


@media screen and (max-width:768px){
.link-cards hr {
	display: none;
}

.icon-col {
	display: none;
}

.link-cards h3 {
	text-align: center;
}
	
}
/*** MEDIA & TEXT ***/
@media screen and (min-width:600px){
.has-media-on-the-right.wp-block-media-text>.wp-block-media-text__content {
padding: 0 8% 0 0;
}
}

/*** MAIN ART PAGE ***/
.art-collections-text  {
	 background: #fff;
    margin-top: 0;
    padding: var(--wp--custom--spacer--xs);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
}



.art-collections .wp-block-cover {
    padding: var(--wp--custom--spacer--xs);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
}

@media screen and (max-width: 1024px) {
	.art-collections .wp-block-cover { background-color: black; }

	.art-collections .wp-block-cover img { opacity: 0.8; }
}

.art-collections .wp-block-cover__inner-container {
    position: relative;
    z-index: 3;
}
body:not(.block-editor-page) .art-collections .wp-block-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2; /* Make sure it's above the image but below text */
box-shadow: 0px -124px 74px -84px rgba(0,0,0,0.85) inset;
-webkit-box-shadow: 0px -124px 74px -84px rgba(0,0,0,0.85) inset;
-moz-box-shadow: 0px -124px 74px -84px rgba(0,0,0,0.85) inset;
}





/*** CONTACT PAGE ***/
/*Grayscale Google Map */
.map-grayscale-filter {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
}

@media (max-width: 1200px) {
.contact-cols .wp-block-column {
	flex-basis: 100% !important;
}
}


/*** MAIN EXHIBITION PAGE ***/
.exhibition-main .wp-block-media-text__media {
  width: 100%;  /* Set your desired container width */
  /*  height: 430px; */ /* Set your desired container height */
  overflow: hidden; /* Ensures any cropped parts are hidden */
	 -webkit-box-shadow: 0px 0px 5px 0px #333333; 
 box-shadow: 0px 0px 5px 0px #d5d5d5;
}
.exhibition-main .wp-block-media-text__media img {
 width: 100%;
  height: 100%;
  object-fit: cover;
	
}

/* .exhibition-main .wp-block-media-text__media {
transition: all 300ms ease-in-out;
}

.exhibition-main .wp-block-media-text__media:hover  {
	transform: translateY(-3px);
} */



@media screen and (max-width:600px) {
.exhibition-main .wp-block-media-text__content {
	    padding: 10px 0 0 0;
}
}


/*** PIE CALENDAR - PLUGIN DEACTIVATED ***/
.piecal-controls.fc .piecal-controls__view-chooser {
    display: none;
}
.piecal-controls.fc .piecal-controls__view-title {
    text-align: center;
}

.fc .fc-list-event-title a {
    text-transform: uppercase;
}

.piecal-controls.fc .piecal-controls__today-button {
    display: none;
}

.piecal-controls.fc .piecal-controls__navigation-button-group {
    margin: 0 auto;
}

/* Exihibition Cols Home */

.exhibition-home-cols > * { position: relative; }

.exhibition-home-cols .swiper-container-outer img { 
	-o-object-fit: contain;
	object-fit: contain; 
	background-color: white;
}

.exhibition-home-cols > .wp-block-column:last-child .wp-block-image { 
	position: absolute;
	width: 240%;
	height: 170%;
	bottom: 0;
	right: -60px;
 }

.exhibition-home-cols > .wp-block-column:last-child .wp-block-image img {
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: 0;
	right: 0;
	object-fit: cover;
	aspect-ratio: 1 / 2;
}

@media screen and (max-width: 1200px) {
	.exhibition-home-cols > .wp-block-column:first-child { flex-basis: 100% !important; }

	.exhibition-home-cols > .wp-block-column:last-child { display: none; }
}


/* No Caption on Default View */
body:not(.wp-admin) .no-caption-default figcaption { display: none; }

/* Group Figcaption on baguetteBox slider modal */
#baguetteBox-overlay figure  { 
  display: inline-flex !important;
  flex-direction: column;
  justify-content: center;
 }

#baguetteBox-overlay figcaption { 
  order: 2;
  position: static !important;
 }

#baguetteBox-overlay img { 
	max-height: 80% !important;
}

/* Home Fixed Resolution Adjusments */
.home .header { background-color: white; }

@media screen and (min-width: 1201px) and (max-width: 1400px) and (max-height: 800px) {
	.home-logo { max-width: 250px; } 

	.home-description { font-size: 1.25em; }

	

}

@media screen and (min-width: 1201px) and (max-height: 900px) {
	.home-three-images .swiper-container-outer { height: 360px !important; }

	.exhibition-home-cols > .wp-block-column:last-child .wp-block-image { height: 200% !important; }
}