/*
Theme Name: The Jolly Vintner
Theme URI: 
Author: Dan Halman
Author URI: 
Description: A custom theme for The Jolly Vintner
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-jolly-vintner
Tags: 
*/

/* ************************************ */
/* Generic                              */
/* ************************************ */

.frontpage-heading .word {
	display: inline-block;
}

.is-style-animate .word {
	display: inline-block;
}

.full-height {
	height: 100% !important;
}

.full-height div {
	height: 100% !important;
}

.full-height img {
	height: 100% !important;
}

.full-width {
	width: 100% !important;
}

.full-width div {
	width: 100% !important;
}

.full-width img {
	width: 100% !important;
}

.footer-page-content h1,
.footer-page-content h2,
.footer-page-content h3,
.footer-page-content h4,
.footer-page-content h5,
.footer-page-content h6 {
	margin-top: 50px;
}

.logo {
	max-width: 300px;
}

@media (min-width: 768px) {
	.logo {
		max-width: 600px;
	}
}

@media (min-width: 1024px) {
	.logo {
		max-width: 700px;
	}
}

.footer-icons a {
	color: var(--wp--preset--color--white) !important;
}

.footer-icons a:hover {
	color: var(--wp--preset--color--primary) !important;
}

.current-menu-item a {
	border-bottom: 2px solid red !important;
	margin-bottom: -1px !important;
	width: auto !important;
	padding-right: 0 !important;
}

/* ************************************ */
/* Hero                                 */
/* ************************************ */

.hero h1 {
	font-size: clamp(1.75rem, 3.32vw + 0.891rem, 4.875rem) !important;
	line-height: clamp(2.275rem, 3.28vw + 1.426rem, 5.363rem) !important;
}

.hero h2 {
	font-size: clamp(1.75rem, 3.32vw + 0.891rem, 4.875rem) !important;
	line-height: clamp(2.275rem, 3.28vw + 1.426rem, 5.363rem) !important;
}

/* ************************************ */
/* Navigation                           */
/* ************************************ */

.wp-block-navigation-item a {
	display: inline-block;
	position: relative;
}

.wp-block-navigation-item a::after {
	content: "";
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 2px;
	bottom: 2px;
	left: 0;
	background-color: var(--wp--preset--color--primary);
	transform-origin: bottom right;
	transition: transform 0.15s ease-out;
}

.wp-block-navigation .current-menu-item a {
	border: 0 !important;
}

.wp-block-navigation .current-menu-item a::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

.wp-block-navigation-item a:hover {
	color: var(--wp--preset--color--primary) !important;
}

.wp-block-navigation-item a:hover::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

/* ************************************ */
/* Buttons                              */
/* ************************************ */

.wp-block-button a:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	-webkit-box-shadow: inset 0px 0px 0px 2px var(--wp--preset--color--primary);
	-moz-box-shadow: inset 0px 0px 0px 2px var(--wp--preset--color--primary);
	box-shadow: inset 0px 0px 0px 2px var(--wp--preset--color--primary);
}

.is-style-outline a {
	border: 0;
	position: relative;
	display: inline-block;
	text-decoration: none;
	color: var(--wp--preset--color--white);
	padding-bottom: 10px;
}

.is-style-outline a::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background-image: url("assets/images/underline_white.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center bottom;
	filter: hue-rotate(120deg);
}

.is-style-outline a:hover {
	color: var(--wp--preset--color--primary);
	background: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.is-style-outline a:hover::after {
	filter: hue-rotate(240deg);
}

/* ************************************ */
/* Wines of the week section            */
/* ************************************ */

.wines-of-the-week .featured-image {
	aspect-ratio: 16 / 9;
	width: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.wines-of-the-week .wine-list {
	padding: 20px 1rem;
}

.wines-of-the-week-message {
	font-style: italic;
	font-family: var(--wp--preset--font-family--azeret-mono);
	text-align: center;
	padding: 20px;
	border: 1px solid #666;
	margin: auto;
}

.wines-of-the-week .wine-of-the-week-item .content {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 12px 0px;
}

@media (min-width: 768px) {
	.wines-of-the-week .wine-of-the-week-item .content {
		padding: 12px 50px;
	}
}

.wines-of-the-week .wine-of-the-week-item .content * {
	margin: 0;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--azeret-mono);
	text-transform: none;
	font-size: var(--wp--preset--font-size--sm);
	letter-spacing: 0;
}

.wines-of-the-week .wine-of-the-week-item .content .title {
	margin-bottom: 6px;
}

.wines-of-the-week .wine-of-the-week-item .separator {
	width: 100%;
}

.wines-of-the-week .wine-of-the-week-item:last-child .separator {
	display: none;
}

.wines-of-the-week-section {
	overflow: hidden;
}

.wines-of-the-week-section .kt-inside-inner-col {
	z-index: -2;
}

/* ************************************ */
/* Floating elements                    */
/* ************************************ */

.floating-bottle {
	display: none;
	position: absolute;
	left: -200px;
	top: 10%;
	z-index: -1;
}

.floating-glass {
	display: none;
	position: absolute;
	right: -150px;
	top: 50%;
	z-index: -1;
}

.floating-bottle img {
	max-width: 200px;
}

.floating-glass img {
	max-width: 200px;
}

@media (min-width: 1024px) {
	.floating-bottle {
		display: block;
		left: -120px;
	}

	.floating-bottle img {
		max-width: 70%;
	}

	.floating-glass {
		display: block;
		right: -220px;
	}

	.floating-glass img {
		max-width: 70%;
	}
}

@media (min-width: 1280px) {
	.floating-bottle {
		display: block;
		left: -150px;
	}

	.floating-bottle img {
		max-width: 80%;
	}

	.floating-glass {
		display: block;
		right: -150px;
	}

	.floating-glass img {
		max-width: 80%;
	}
}

@media (min-width: 1440px) {
	.floating-bottle {
		display: block;
		left: -150px;
	}

	.floating-bottle img {
		max-width: 120%;
		width: 110%;
	}

	.floating-glass {
		display: block;
		right: -100px;
	}

	.floating-glass img {
		max-width: 120%;
		width: 110%;
	}
}

/* ************************************ */
/* Events section                       */
/* ************************************ */

.events-container .event-item-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 40px 0;
}

.events-container .event-item .wp-post-image {
	object-fit: cover;
	height: 220px;
	width: 100%;
	min-height: 220px;
	min-width: 100%;
	border-radius: 5px;
}

@media (min-width: 768px) {
	.events-container .event-item-container {
		flex-direction: row;
	}

	.events-container .event-item .wp-post-image {
		object-fit: cover;
		height: 160px;
		width: 220px;
		min-height: 160px;
		min-width: 220px;
		border-radius: 5px;
	}
}

.events-container .events-list .separator {
	width: 100%;
}

.events-container .events-list .event-item:last-child .separator {
	display: none;
}

.events-container .event-title {
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 0px;
	color: #333;
	margin-top: 0;
	font-family: var(--wp--preset--font-family--azeret-mono);
}

.events-container .event-date {
	color: #666;
	font-size: 0.9em;
	margin-bottom: 2px;
	font-style: italic;
	font-family: var(--wp--preset--font-family--azeret-mono);
}

.events-container .event-description {
	line-height: 1.6;
	margin-top: 14px;
	color: #555;
}

.events-container .event-button {
	display: inline-block;
	margin-top: 14px;
	color: #555;
	padding: 4px 12px;
	background: var(--wp--preset--color--primary);
	color: white;
	text-decoration: none;
	font-size: 0.85em;
	text-transform: uppercase;
}

.events-container .event-button:hover {
	background: black;
}

.events-container .no-events {
	font-style: italic;
	font-family: var(--wp--preset--font-family--azeret-mono);
	text-align: center;
	padding: 20px;
	border: 1px solid #666;
}

.events-container .event-tag {
	display: inline-block;
	padding: 12px 12px;
	border-radius: 500px;
	margin-bottom: 8px;
	font-family: var(--wp--preset--font-family--azeret-mono);
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--primary);
	text-transform: uppercase;
	font-weight: 500;
	font-size: 12px;
	line-height: 0;
}

/* ************************************ */
/* Load more button                     */
/* ************************************ */

.load-more-container {
	text-align: center;
	margin-top: 20px;
}

.load-more-button {
	transition: background 0.3s;
}

.load-more-button {
	color: var(--wp--preset--color--primary) !important;
}

.load-more-button:hover {
	color: var(--wp--preset--color--ink) !important;
}

.load-more-button {
	border: 0;
	position: relative;
	display: inline-block;
	text-decoration: none;
	padding-bottom: 10px;
}

.load-more-button::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10px;
	background-image: url("assets/images/underline_red.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center bottom;
	/* filter: hue-rotate(120deg); */
}

.load-more-button:hover {
	color: var(--wp--preset--color--ink);
}

.load-more-button:disabled {
	cursor: not-allowed;
}

.loading {
	opacity: 0.6;
}

/* ************************************ */
/* Contact form                         */
/* ************************************ */

.contact-form {
	overflow: hidden;
}

.contact-form .breakout-negative-margin-right {
	margin-inline-end: -50vw !important;
}

.forminator-label {
	font-family: var(--wp--preset--font-family--azeret-mono) !important;
	font-weight: 500 !important;
	font-size: 16px !important;
}

.forminator-input {
	font-family: var(--wp--preset--font-family--azeret-mono) !important;
	border-color: #cecece !important;
	padding: 12px !important;
}

.forminator-input:focus,
.forminator-textarea:focus,
.forminator-button-submit:focus {
	outline: solid 2px var(--wp--preset--color--black) !important;
	outline-offset: -1px !important;
	transition: none !important;
	box-shadow: none !important;
}

.forminator-textarea {
	font-family: var(--wp--preset--font-family--azeret-mono) !important;
	border-color: #cecece !important;
	padding: 12px !important;
}

.forminator-button-submit {
	font-family: var(--wp--preset--font-family--azeret-mono) !important;
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--white) !important;
	text-transform: uppercase !important;
	font-weight: 600 !important;
	font-size: 16.2px !important;
	letter-spacing: 1.4px !important;
	padding: 16px 32px !important;
	transition: none !important;
	font-weight: 400 !important;
}

.forminator-button-submit:hover {
	background: var(--wp--preset--color--ink) !important;
	color: var(--wp--preset--color--white) !important;
	box-shadow: none !important;
}

.forminator-error-message {
	background-color: var(--wp--preset--color--primary-tint) !important;
	border-radius: 4px !important;
	font-size: 14px !important;
	color: var(--wp--preset--color--primary) !important;
}

.forminator-success {
	background-color: var(--wp--preset--color--success-tint) !important;
	color: var(--wp--preset--color--black) !important;

	box-shadow: inset 2px 0 0 0 var(--wp--preset--color--success) !important;
	-moz-box-shadow: inset 2px 0 0 0 var(--wp--preset--color--success) !important;
	-webkit-box-shadow: inset 2px 0 0 0 var(--wp--preset--color--success) !important;
}
