/*
Theme Name: Sunnyside
Theme URI: https://example.com/themes/sunnyside/
Author: Your Name
Author URI: https://example.com
Description: Sunnyside is a custom WordPress theme.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunnyside
Tags: custom-theme, block-theme
*/ 

/* Font Face Declarations */
@font-face {
    font-family: 'Jokker';
    src: url('assets/fonts/Jokker/Jokker-Medium.woff2') format('woff2'),
         url('assets/fonts/Jokker/Jokker-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jokker';
    src: url('assets/fonts/Jokker/Jokker-Semibold.woff2') format('woff2'),
         url('assets/fonts/Jokker/Jokker-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Season Mix';
    src: url('assets/fonts/Season Mix/SeasonMix-SemiBold.woff2') format('woff2'),
         url('assets/fonts/Season Mix/SeasonMix-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
}
html, body {
    overflow-x: hidden;
}
body { 
    background: #FFF2EF; 
    margin: 0; 
    font-family: 'Jokker', 'Montserrat', Arial, sans-serif !important; 
	color: #007FFF;
	font-size: 15px;
	line-height: 20px;
}
.elementor-widget-heading .elementor-heading-title {
	font-family: 'Jokker', 'Montserrat', Arial, sans-serif !important;
}
.hide-desktop {
	display: none;
}
.hide-mobile {
	display: block;
}
.header-container {
	width: 100%;
	margin: 0 auto;
}
.ss-header {
	position: absolute;
	top: 0;
	z-index: 10000;
	box-shadow: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: transparent;
	padding: 0px 0px 0px 0px;
	height: 50px;
	width: 100%;
}
.ss-header.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10000;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
	background: #FFF2EF;
}
.ss-header .ss-logo {
	font-family: 'Season Mix', Arial, sans-serif;
	font-size: 2.5rem;
	font-weight: 600;
	color: #FF6400;
	letter-spacing: 2px;
	text-align: center;
	flex: 1;
	margin: 0 auto;
	align-content: center;
	padding: 10.5px 0;
	z-index: 9999999;
	position: absolute;
	width: 220px;
	left: 0;
	right: 0;
}
.home .ss-header .ss-logo {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.home .ss-header .ss-logo.show-logo {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.ss-header .ss-logo .custom-logo {
	width: auto;
	height: 30px;
}
#menu-main-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ss-nav {
	width: 100%;
	position: relative;
	margin-top: 0;
	max-width: 100%;
	z-index: 999999;
	top: 0;
}
.ss-header #menu-main-menu a {
	color: #FFF2EF;
	padding: 15px 26px;
	text-transform: uppercase;
	font-size: 16px;
	text-decoration: none;
	font-weight: 600;
}
.ss-header #menu-main-menu .buy-tickets-link a {
	padding: 15px 28px;
}
.ss-header #menu-main-menu a:hover {
	text-decoration: underline;
}
.ss-header .about-link a {
	background: #FF6400;
	float: left;
}
.ss-header .buy-tickets-link a {
	background: #007FFF;
	float: right;
}
.ss-header .tickets-link a {
	background: #007FFF;
	float: right;
}
.humanitix-events-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0 auto;
	max-width: 1440px;
	padding-left: 40px;
	padding-right: 40px;
	margin-top: 20px;
}
.humanitix-event-card {
	background: #FFF2EF;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 20px;
}
.humanitix-event-image {
	width: 100%;
	height: 400px !important;
	object-fit: cover;
	border-radius: 6px 6px 0 0;
}
.humanitix-event-title {
	color: #007FFF;
	font-size: 22px;
	margin: 12px 0 8px 0;
	font-weight: 600;
	line-height: 28px;
}
.humanitix-event-category {
	font-size: 13px;
	color: #007FFF;
	line-height: 16px;
	margin: 18px 0 0 0;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.humanitix-event-info {
	font-size: 15px;
	color: #007FFF;
	line-height: 20px;
	margin-bottom: 20px;
	font-weight: 500;
}
.humanitix-event-link.htx-btn-buy {
	margin-top: auto;
	display: inline-block;
	padding: 6px 13.6px;
	border-radius: 0;
	font-weight: 600;
	text-decoration: none;
	background: #007FFF;
	color: #FFF2EF;
	font-size: 14px;
	text-transform: uppercase;
}
.humanitix-event-link.htx-btn-free {
	margin-top: auto;
	display: inline-block;
	padding: 6px 13.6px;
	border-radius: 0;
	font-weight: 600;
	text-decoration: none;
	background: #8BBE34;
	color: #FFF2EF;
	font-size: 14px;
	text-transform: uppercase;
}
.tnp.tnp-subscription {
	position: relative;
	width: 342px;
	margin: 0;
}
#tnp-1 {
	background: none;
	border-bottom: 1px solid #007FFF;
	padding: 8px 0;
	font-size: 15px;
	line-height: 20px;
	color: #007FFF;
	font-weight: 500;
}
.tnp-field.tnp-field-button {
	position: absolute;
	right: 0;
	top: 0;
}
.tnp-subscription .tnp-field input[type="submit"] {
	position: static;
	background: none;
	padding-left: 0;
	padding-right: 25px;
	color: #007FFF;
	font-size: 15px;
	font-weight: 600;
	line-height: 20px;
	background: url('assets/images/arrow-btn-blue.png') no-repeat right center;
	cursor: pointer;
}
.elementor-element.bg-before-left-blue::before {
	background: #007FFF;
	content: "";
	position: absolute;
	left: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-right-blue::before {
	background: #007FFF;
	content: "";
	position: absolute;
	right: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-left-pink::before {
	background: #FF55CF;
	content: "";
	position: absolute;
	left: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-right-pink::before {
	background: #FF55CF;
	content: "";
	position: absolute;
	right: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-left-yellow::before {
	background: #FFF15E;
	content: "";
	position: absolute;
	left: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-right-yellow::before {
	background: #FFF15E;
	content: "";
	position: absolute;
	right: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-left-light-blue::before {
	background: #A6D6FF;
	content: "";
	position: absolute;
	left: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-right-light-blue::before {
	background: #A6D6FF;
	content: "";
	position: absolute;
	right: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-left-green::before {
	background: #8BBE34;
	content: "";
	position: absolute;
	left: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-right-green::before {
	background: #8BBE34;
	content: "";
	position: absolute;
	right: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-left-orange::before {
	background: #FF6400;
	content: "";
	position: absolute;
	left: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-right-orange::before {
	background: #FF6400;
	content: "";
	position: absolute;
	right: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-left-pale-blue::before {
	background: #A3D6FE;
	content: "";
	position: absolute;
	left: -1000%;
	width: 1000%;
}
.elementor-element.bg-before-right-pale-blue::before {
	background: #A3D6FE;
	content: "";
	position: absolute;
	right: -1000%;
	width: 1000%;
}

.page-id-425 .ss-header .ss-logo  {
	display: none;
}
.page-id-425 .humanitix-events-grid {
	max-width: 100%;
}
.elementor-2 .elementor-element h2 {
	font-size: 50px;
	font-weight: 600;
	line-height: 55px;
	font-family: 'Jokker', 'Montserrat', Arial, sans-serif !important;
}
.btn-arrow {
	margin-left: 8px;
}
/* Keep footer links white on hover */
#site-footer a:hover {
    color: #FFF2EF !important; /* or #ffffff for pure white */
    text-decoration: underline; /* optional: keeps underline on hover */
}

.humanitix-popup {
    display: block !important;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    overflow: auto;
	padding: 5% 10%;
}
.humanitix-popup:not(.active) {
    display: none !important;
}
.humanitix-popup .popup-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px 16px 16px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    max-width: 500px;
    width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: auto;
}
.humanitix-popup iframe {
    width: 100%;
    height: 60vh;
    border: none;
    border-radius: 8px;
    background: #fff;
}
.humanitix-popup .close-popup {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 3rem;
    color: #FFF;
    cursor: pointer;
    z-index: 100000;
}

@media (max-width: 1024px) {
	.humanitix-events-grid {
		grid-template-columns: repeat(2, 1fr);
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media (max-width: 767px) {
	.hide-desktop {
		display: block;
	}
	.hide-mobile {
		display: none;
	}
	.tnp.tnp-subscription {
		width: 100%;
		margin: 0 auto;
		max-width: 100%;
	}
	.newsletter-form {
		display: block !important;
	}
	.ss-header #menu-main-menu a {
		padding: 15px 0;
		font-size: 14px;
		width: 86px;
		text-align: center;
	}
	.custom-logo {
		height: 24px;
		width: auto;
	}
	.ss-header .ss-logo {
		padding: 12.5px 0;
	}
	.humanitix-events-grid {
		grid-template-columns: repeat(2, 1fr);
		padding: 0;
		gap: 20px;
	}
	.humanitix-event-link {
		font-weight: 500 !important;
	}
	.humanitix-event-link.htx-btn-free {
		padding: 6px 8px;
	}
	.elementor-2 .elementor-element h2 {
		font-size: 35px;
		line-height: 40px;
	}
	.humanitix-event-image {
		height: 200px !important;
	}
	.humanitix-event-title {
		font-size: 20px;
		line-height: 22px;
	}
	.humanitix-event-category {
		font-size: 12px;
		margin: 12px 0 0 0;
		letter-spacing: 0;
		line-height: 12px;
	}
}