/*
Theme Name: Galleria - PHP 8.5 v2.8
Theme URI: http://chatterjeeandlal.com
Author: Srinivas Kini
Author URI: http://resetcorp.com
Description: Custom-built theme for the Chatterjee & Lal, Mumbai.
Version: 2.8
*/

/* Page and site-wide styles. Header styles live in header.css. */
#showscontent #sidebar {
	position: relative;
}

#showscontent #show-year-toggle {
	position: absolute;
	font-family: monospace;
	display: inline-block;
	right: 40px;
	top: 40px;
	font-size: 22px;
	transform: rotate(90deg);
	color: #13aad3;
}

#showscontent .active #show-year-toggle {
	transform: rotate(-90deg);
}

#showscontent > .container {
	display: flex;
	flex-direction: column-reverse;
}

#showscontent #sidebar ul {
	display: none;
}

#showscontent #sidebar.active ul {
	display: block;
}

.tribe-common.tribe-events .tribe-common-l-container .tribe-events-c-subscribe-dropdown__container {
	display: block;
	top: 15px;
	position: relative;
}

.tribe-events-calendar-list-nav.tribe-events-c-nav {
	width: 100%;
}

#post-5694 .artists.clearfix {
	display: flex;
	flex-wrap: wrap;
}

@media (min-width: 768px) {
	#showscontent #sidebar ul {
		display: block;
	}

	#showscontent #show-year-toggle {
		display: none;
	}

	#showscontent > .container {
		display: block;
	}
}

.responsive-tabs__list {
	font-size: 1.4em;
}

.moreshows {
	display: flex;
	flex-wrap: wrap;
}

/* Homepage banner */
.home-hero {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 510px;
	padding: 58px 24px 56px;
	border-bottom: 1px solid #e7e0d3;
	background:
		radial-gradient(ellipse 39% 54% at 34% 48%, rgba(219, 174, 105, .24), transparent 100%),
		radial-gradient(ellipse 38% 55% at 69% 48%, rgba(115, 137, 147, .20), transparent 100%),
		linear-gradient(180deg, #f5f1e8 0%, #e9e6e0 100%);
	text-align: center;
}

.home-hero__content {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}

.home-hero h1 {
	margin: 0;
	color: #30291e;
	font-family: 'GillSansMTProMedium', 'Gill Sans', Arial, sans-serif;
	font-size: clamp(54px, 7.25vw, 96px);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -2.5px;
}

.home-hero h1 > span {
	display: block;
}

.home-hero h1 .home-hero__highlight {
	margin-top: 14px;
	background: linear-gradient(100deg, #8a886b 7%, #c78d32 52%, #a96d3f 94%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.home-hero__description {
	max-width: 730px;
	margin: 34px auto 0;
	color: #685b49;
	font-family: 'GillSansMTProRegular', 'Gill Sans', Arial, sans-serif;
	font-size: clamp(18px, 2vw, 26px);
	font-weight: 400;
	line-height: 1.25;
}

.home-hero__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 48px;
}

.home-hero__button,
.home-hero__button:visited {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 60px;
	padding: 0 31px;
	border: 2px solid #4d7180;
	border-radius: 999px;
	font-family: 'GillSansMTProMedium', 'Gill Sans', Arial, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.home-hero__button--primary,
.home-hero__button--primary:visited {
	background: #4d7180;
	color: #fff;
}

.home-hero__button--secondary,
.home-hero__button--secondary:visited {
	background: transparent;
	color: #4d7180;
}

.home-hero__button:hover,
.home-hero__button:focus-visible {
	transform: translateY(-2px);
}

.home-hero__button--primary:hover,
.home-hero__button--primary:focus-visible {
	background: #3d606e;
	color: #fff;
}

.home-hero__button--secondary:hover,
.home-hero__button--secondary:focus-visible {
	background: #4d7180;
	color: #fff;
}

@media (max-width: 680px) {
	.home-hero {
		min-height: 0;
		padding: 74px 20px 78px;
		background:
			radial-gradient(ellipse 72% 42% at 25% 34%, rgba(219, 174, 105, .22), transparent 100%),
			radial-gradient(ellipse 70% 48% at 78% 62%, rgba(115, 137, 147, .18), transparent 100%),
			linear-gradient(180deg, #f5f1e8 0%, #e9e6e0 100%);
	}
	.home-hero h1 {
		font-size: clamp(44px, 11vw, 64px);
		letter-spacing: -1.5px;
	}
	.home-hero h1 .home-hero__highlight { margin-top: 8px; }
	.home-hero__description { margin-top: 27px; font-size: 18px; line-height: 1.4; }
	.home-hero__actions { gap: 12px; margin-top: 34px; }
	.home-hero__button,
	.home-hero__button:visited { min-height: 52px; padding: 0 23px; font-size: 16px; }
}

/* Homepage exhibition cards */
.home-exhibitions {
	box-sizing: border-box;
	padding: 72px 32px 110px;
	background: #f5f1e8;
}

.home-exhibitions__inner {
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
}

.home-exhibitions__heading {
	max-width: 760px;
	margin: 0 auto 62px;
	text-align: center;
}

.home-exhibitions__heading h2 {
	margin: 0;
	color: #30291e;
	font-family: 'GillSansMTProMedium', 'Gill Sans', Arial, sans-serif;
	font-size: clamp(38px, 4.6vw, 58px);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -1.5px;
}

.home-exhibitions__heading p {
	max-width: 700px;
	margin: 16px auto 0;
	color: #685b49;
	font-family: 'GillSansMTProRegular', 'Gill Sans', Arial, sans-serif;
	font-size: 21px;
	line-height: 1.35;
}

.home-exhibitions__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.home-exhibition-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e3d8c6;
	border-radius: 16px;
	background: #fffcf6;
	transition: box-shadow .4s ease, transform .4s ease;
}

.home-exhibition-card:hover,
.home-exhibition-card:focus-within {
	transform: translateY(-2px);
	box-shadow: 0 18px 38px rgba(48, 41, 30, .16);
}

.home-exhibition-card__image {
	position: relative;
	display: block;
	height: 256px;
	overflow: hidden;
	background: #e8e2d7;
}

.home-exhibition-card__image img,
.home-exhibition-card__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.home-exhibition-card__image img {
	object-fit: cover;
	transform: scale(1);
	transition: transform .45s cubic-bezier(.2, .7, .25, 1);
}

.home-exhibition-card:hover .home-exhibition-card__image img,
.home-exhibition-card:focus-within .home-exhibition-card__image img {
	transform: scale(1.1);
}

.home-exhibition-card__status {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 5px 14px;
	border-radius: 999px;
	color: #fff;
	font-family: 'GillSansMTProMedium', 'Gill Sans', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.2;
}

.home-exhibition-card__status--current { background: #718651; }
.home-exhibition-card__status--upcoming { background: #4f7180; }
.home-exhibition-card__status--past { background: #a1927e; }

.home-exhibition-card__body {
	padding: 22px 24px 20px;
}

.home-exhibition-card__body h3 {
	margin: 0;
	font-family: 'GillSansMTProMedium', 'Gill Sans', Arial, sans-serif;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.2;
}

.home-exhibition-card__body h3 a,
.home-exhibition-card__body h3 a:visited {
	color: #30291e;
	text-decoration: none;
}

.home-exhibition-card__body h3 a:hover,
.home-exhibition-card__body h3 a:focus-visible {
	color: #4d7180;
}

.home-exhibition-card__artists {
	margin: 10px 0 0;
	color: #527789;
	font-family: 'GillSansMTProRegular', 'Gill Sans', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.3;
}

.home-exhibition-card__excerpt {
	display: -webkit-box;
	margin: 14px 0 0;
	overflow: hidden;
	color: #685b49;
	font-family: 'GillSansMTProRegular', 'Gill Sans', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.35;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.home-exhibition-card__date {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 16px 0 0;
	color: #8b7e69;
	font-family: 'GillSansMTProRegular', 'Gill Sans', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.3;
}

.home-exhibition-card__date .fa {
	color: #9a886d;
	font-size: 15px;
}

.home-exhibitions__empty {
	margin: 0;
	color: #685b49;
	text-align: center;
}

.home-exhibitions__actions {
	display: flex;
	justify-content: center;
	margin-top: 72px;
}

.home-exhibitions__all-button,
.home-exhibitions__all-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 0 40px;
	border: 2px solid #4d7180;
	border-radius: 999px;
	color: #4d7180;
	font-family: 'GillSansMTProMedium', 'Gill Sans', Arial, sans-serif;
	font-size: 20px;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.home-exhibitions__all-button:hover,
.home-exhibitions__all-button:focus-visible {
	background: #4d7180;
	color: #fff;
	box-shadow: 0 8px 20px rgba(48, 41, 30, .12);
}

@media (max-width: 900px) {
	.home-exhibitions { padding: 60px 24px 80px; }
	.home-exhibitions__heading { margin-bottom: 42px; }
	.home-exhibitions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.home-exhibition-card__image { height: 220px; }
}

@media (max-width: 600px) {
	.home-exhibitions { padding: 50px 18px 64px; }
	.home-exhibitions__heading { margin-bottom: 32px; }
	.home-exhibitions__heading p { font-size: 18px; }
	.home-exhibitions__grid { grid-template-columns: 1fr; gap: 20px; }
	.home-exhibitions__actions { margin-top: 42px; }
	.home-exhibition-card__image { height: min(68vw, 300px); }
	.home-exhibition-card__body { padding: 19px 20px 18px; }
	.home-exhibition-card__body h3 { font-size: 23px; }
	.home-exhibitions__all-button,
	.home-exhibitions__all-button:visited { min-height: 54px; padding: 0 30px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.home-exhibition-card,
	.home-exhibition-card__image img {
		transition: none;
	}
	.home-exhibition-card:hover,
	.home-exhibition-card:focus-within,
	.home-exhibition-card:hover .home-exhibition-card__image img,
	.home-exhibition-card:focus-within .home-exhibition-card__image img {
		transform: none;
	}
}
