/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

p {
	margin-block-end: 15px !important;
}

b, strong {
    font-weight: 700 !important;
}

/* Event loop cards: stretch each item to the same height, keep the
   flyer at its natural size, and pin title + registration to the bottom. */
.elementor-widget-loop-grid .e-loop-item {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.elementor-widget-loop-grid .e-loop-item > .e-con {
	flex: 1 1 auto;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.elementor-widget-loop-grid .e-loop-item .elementor-element-bf9b830 {
	margin-top: auto;
}

.elementor-widget-loop-grid .e-loop-item .elementor-widget-image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* Center event cards when the 3-column loop has fewer than 3 items.
   Card width stays one-third of the grid so 1–2 events do not stretch. */
.elementor-element-4d86fd6 .elementor-loop-container.elementor-grid:has(> .e-loop-item):not(:has(> .e-loop-item ~ .e-loop-item ~ .e-loop-item)),
.elementor-element-3c46953 .elementor-loop-container.elementor-grid:has(> .e-loop-item):not(:has(> .e-loop-item ~ .e-loop-item ~ .e-loop-item)) {
	justify-content: center;
	grid-template-columns: repeat(auto-fit, minmax(0, calc((100% - 60px) / 3)));
}

@media (max-width: 1024px) {
	.elementor-element-4d86fd6 .elementor-loop-container.elementor-grid:has(> .e-loop-item):not(:has(> .e-loop-item ~ .e-loop-item)),
	.elementor-element-3c46953 .elementor-loop-container.elementor-grid:has(> .e-loop-item):not(:has(> .e-loop-item ~ .e-loop-item)) {
		grid-template-columns: minmax(0, calc((100% - 30px) / 2));
	}
}