/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://gondolinaps.chiaragrazia.it/
 Description:  Child theme for Hello Elementor
 Author:       Chiara G
 Author URI:   -
 Template:     hello-elementor
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hello-elementor-child
*/

:root {
	--gondolin-blue: #0e3f80;
}

/* Events Manager: layout */
.em-item-header {
	margin-top: 3em !important;
}

.em-item-meta {
	margin-bottom: 2em !important;
}

.em-item-image {
	width: 350px !important;
	max-width: 100%;
	height: auto;
}

.em-event-prices {
	display: none !important;
}

/* Location page */
.em-location-where,
.em-location-events {
	margin-bottom: 3em !important;
}

/* Post h2 */
.wp-block-heading {
	font-size: 23px !important;
	color: var(--gondolin-blue) !important;
}

/* Uppercase titles */
.testo_maiuscolo {
	text-transform: uppercase;
}

/* All titles */
.entry-title {
	margin-top: 1em !important;
	color: var(--gondolin-blue) !important;
	text-align: center !important;
}

/* TODO: force title visibility (find root cause in Elementor/Hello settings) */
.single-event .entry-title,
.em-event .entry-title,
body.single-event .entry-title,
body[class*="prenotazioni"] .entry-title,
.page .entry-title {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* My bookings page */
.css-my-bookings {
	margin: 1em 4em 2em;
	min-height: 100vh;
}

/* 404 back link */
.back-link {
	font-size: 2em;
	color: var(--gondolin-blue);
}

/* MOBILE */
.event-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

@media (max-width: 768px) {
	.event-image {
		max-height: 300px;
		overflow: hidden;
	}

	.css-my-bookings {
		margin-left: 1em;
		margin-right: 1em;
	}
}