/**
Theme Name: blackhorsebrew
Author: Mark-Digital 
Author URI: https://mark-digital.com
Description: Theme for blackhorsebrew.com
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blackhorsebrew
Template: astra
*/
.site-header {
	z-index: 1000;
}
.page-hero{
	height:calc(100vh - 200px);
	min-height: 600px;
}
.beers-container {
	margin-top:30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 50px 20px;
	overflow: hidden;
}

.beers-container > .beer-item {
	flex: 1 1 calc(25% - 20px);
	max-width: calc(25% - 20px);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	opacity: 1; 
	transition: opacity 0.5s, max-height 0.5s ease-in-out;
	max-height: 1000px;
}

.beers-container > .beer-item.hidden {
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	position: absolute;
}

div.beers-container > .beer-item.visible {
	opacity: 1;
	max-height: 1000px;
	position: relative;
}

.beer-image {
	background-size: 100% calc(100% - 75px);
	background-repeat: no-repeat;
	background-position: top center;
	width: 100%;
	height: auto;
	background-image: url('/wp-content/themes/blackhorsebrew/assets/img/pages/beer-bg.jpg');
}

#content .beer-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	z-index: 3;
	bottom: -50px;
	left: 0;
}

.content-button {
	display: block;
	margin: 50px auto 0;
	padding: 13px 25px!important;
	color: #FFF!important;
	transition: color 0.3s, background-color 0.3s;
	min-width:190px;
}

.content-button:hover {
	color: #000!important;
}

h2.beer-title, h2.beer-title a{
	color: #000;
	text-align: center;
	font-family: "League Spartan";
	font-size: 36px;
	font-weight: 700;
	line-height: 100%;
	text-decoration: none !important;
	margin-bottom: 5px;
}
.beer-style{
	color: #BD9B60;
	text-align: center;
	font-family: Inter;
	font-size: 20px;
	font-weight: 700;
	line-height: 150%;
}
.beer-image a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
.pubstatus {
	color: #FFF;
	font-family: "League Spartan";
	font-size: 35px;
	font-weight: 700;
	line-height: 30px;
	text-transform: capitalize;
	margin-bottom: 10px;
}
span.bartimebadge {
	border-radius: 10px;
	border: 3px solid #FFF;
	min-width: 250px;
	padding: 22px 28px;
	display: inline-block;
	text-transform: uppercase;
}
.pubstatus > div > div {
	display: flex;
	align-items: center;
	gap: 40px;
}
div#ast-scroll-top {
	display: none !important;
}

#event-filter {
	text-align: center;
	margin-bottom: 50px;
	display:flex;
	gap:30px;
	justify-content: center;
	align-items: center;
}

#event-filter button {
	color: #000;
	font-family: Inter;
	font-size: 25px;
	font-weight: 700;
	line-height: 30px;
	text-transform: capitalize;
	padding: 8px 20px;
	cursor: pointer;
	opacity: 0.5;
	border-radius: 10px;
	border: 2px solid #D9D9D9;
	background-color: white;
	display:flex;
	align-items: center;
	gap: 8px;
	filter: grayscale(1);
}

#event-filter button.active {
	opacity: 1;
	border: 2px solid #BD9B60;
	filter: grayscale(0);
}

.events-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 50px 10px;
	justify-content: space-between;
	margin-bottom: 50px;
}
button#load-more-events {
	margin: 0 auto;
	display: block;
	color: white;
}
.event {
	width: 32%;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	text-align: center;
	display: flex;
	flex-direction: column;
}

.event-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.event-details {
	padding: 30px 20px;
	background: #F1F1F1;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.event-date {
	margin-bottom: 10px;
	color: #000;
	text-align: center;
	font-size: 30px;
	font-weight: 700;
	line-height: 130%;
	text-transform: uppercase;
}

.event-title {
	color: #BD9B60;
	text-align: center;
	font-size: 41px;
	font-style: normal;
	font-weight: 800;
	line-height: 115%;
	text-transform: uppercase;
}
.ast-article-post .post-thumb-img-content img {
	object-fit: cover;
}
.ast-article-inner {
	padding: 28px;
}
.ast-blog-featured-section {
	margin-bottom: 20px;
}
.ast-blog-single-element.ast-taxonomy-container a {
	color: #BD9B60;
	font-family: "League Spartan";
	font-size: 18px;
	font-weight: 700;
	line-height: 30px;
	text-transform: uppercase;
}
h2.entry-title.ast-blog-single-element {
	margin-bottom: 15px;
}
.ast-separate-container .ast-blog-layout-4-grid .ast-article-post {
	padding: 0 .5em 0;
}
h2.entry-title.ast-blog-single-element a{
	color: #000;
	font-size: 35px;
	font-weight: 700;
	line-height: 40px;
	font-family: "League Spartan";
}
.ast-separate-container.ast-desktop .ast-blog-layout-4-grid .ast-row {
	margin-left: 0;
	margin-right: 0;
}
.ast-separate-container .ast-blog-layout-4-grid .ast-article-post {
	padding: 0;
}
.ast-blog-layout-4-grid .ast-article-post {
	width: 100%;
}
.ast-separate-container.ast-desktop .ast-blog-layout-4-grid .ast-row{
	justify-content: space-between;
}
.entry-meta, .entry-meta * {
	color: #727272;
	font-family: Inter;
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
}
.ast-blog-layout-4-grid .ast-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 30px;
}
.grid3spot {
	grid-column: span 3;
}
.woocommerce-js h2 {
	margin-bottom: inherit;
}
.ast-row.continue-post-grid{
	margin-top:50px!important;
}
.post-content>.cat-links, .post-content>.read-more, .post-content>.tags-links {
	margin-bottom: 0em;
}
.event-genre {
	color: #727272;
	text-align: center;
	font-family: Inter;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 160%;
	text-transform: capitalize;
	margin: 10px 0;
}
.event-time{
	color: #000;
	text-align: center;
	font-family: Inter;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 160%;
	text-transform: uppercase;
	border-radius: 10px;
	max-width: fit-content;
	display: flex;
	padding: 8px 21px;
	border: 2px solid #BD9B60;
}
.alcoa-events-container-unique {
	padding: 30px 40px 30px 60px;
	color: white;
}

.events-scroll-container-unique {
	gap: 40px;
	display: flex;
	flex-direction: column;
	max-height: 500px;
	overflow-y: scroll;
	scrollbar-width: thin;
	scrollbar-color: #BD9B60 #727272;
	padding-right: 20px;
}

.events-scroll-container-unique::-webkit-scrollbar {
	width: 10px;
}

.events-scroll-container-unique::-webkit-scrollbar-track {
	background: #727272;
}

.events-scroll-container-unique::-webkit-scrollbar-thumb {
	background-color: #BD9B60;
	border-radius: 10px;
	border: 2px solid #727272;
}

.event-unique {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 30px;
}

.event-date-unique {
	color: #BD9B60;
	font-family: Inter;
	font-size: 25px;
	font-weight: 400;
	line-height: normal;
}

.event-details-unique {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.event-title-time-unique {
	display: flex;
	justify-content: flex-end;
}

.event-divider-unique {
	border-bottom: 1px solid #FFF;
	margin: 15px 0;
}
.event-title-time-unique {
	display: block;
	color: #FFF;
	text-align: right;
	font-family: "League Spartan";
	font-size: 20px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}
.event-genre-unique {
	color: #FFF;
	text-align: right;
	font-family: Inter;
	font-size: 15px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
}

@media (max-width: 1400px) {
	.event-title {
		font-size: 30px;
	}	
	.event-date {
		font-size: 25px;
	}
	.event-time {
		font-size: 25px;
	}
	.event-genre {
		font-size: 16px;
	}
}

@media (max-width: 1024px) {
	.beers-container > .beer-item {
		flex: 1 1 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}
	.pubstatus > div > div {
		flex-direction: column;
		gap:15px;
		text-align: center;
	}
	.event-title {
		font-size: 25px;
	}	
	.event-date {
		font-size: 20px;
	}
	.event-time {
		font-size: 20px;
	}
	button#load-more-events {
		font-size: 25px;
	}
	.events-scroll-container-unique {
		max-height: initial;
	}
	.alcoa-events-container-unique {
		padding: 40px 20px;
	}
	.event-title-time-unique {
		font-size: 18px;
	}
	.event-genre-unique {
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.beers-container > .beer-item {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.hero-btn a {
		width: 100% !important;
	}
	.content-button {
		margin: 20px auto 0;
	}
	.pubstatus > div > div {
		font-size: 25px;
	}
	#event-filter {
		flex-direction: column;
	}
	#event-filter button {
		justify-content: center;
		width: 100%;
	}
	#event-filter {
		margin-bottom: 50px;
	}
	.events-grid {
		flex-direction: column;
	}
	.event {
		width: 100%;
	}
}
