/* 
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:1.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 */

/* boxed section heading
 * Container .tl-heading-wrap draws a full-width rule through its middle;
 * the heading/button inside gets a white box on top of the rule.
 * Add .tl-heading-wrap--split to fill the bottom half with the parent
 * section colour (heading straddles the edge of a coloured section). */
.tl-heading-wrap{
	position: relative;
}
.tl-heading-wrap:before{
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 1px;
	background: #181A46;
}
.tl-heading-wrap--split{
	background: linear-gradient(to bottom, #fff 50%, transparent 50%);
}
/* On dark blue sections the colour starts below the rule, so the rule shows on white */
.tl-heading-wrap--dark{
	background: linear-gradient(to bottom, #fff calc(50% + 18px), transparent calc(50% + 18px));
}
.tl-heading-wrap > .elementor-widget{
	position: relative;
	z-index: 1;
}
.tl-boxed-heading .elementor-heading-title{
	min-width: 298px;
}
/* boxed section heading END */

/* load more on a rule (loop grid) */
.tl-section-clip{
	overflow-x: clip;
}
.tl-load-more-rule .e-load-more-anchor + .e-loop__load-more,
.tl-load-more-rule .e-loop__load-more{
	position: relative;
	margin-top: 60px;
}
.tl-load-more-rule .e-loop__load-more:before{
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100vw;
	height: 1px;
	transform: translateX(-50%);
	background: #181A46;
}
.tl-load-more-rule .e-loop__load-more .elementor-button-wrapper,
.tl-load-more-rule .e-loop__load-more .elementor-button{
	position: relative;
	z-index: 1;
	min-width: 298px;
}
/* load more on a rule END */

/* heading followed by a rule (improv members) */
.tl-heading-rule .elementor-heading-title{
	display: flex;
	align-items: center;
	gap: 40px;
}
.tl-heading-rule .elementor-heading-title:after{
	content: '';
	flex: 1;
	height: 1px;
	background: #181A46;
}
/* heading followed by a rule END */

/* cast & crew */
.tl-cast-crew{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.tl-cast-crew__name,
.tl-cast-crew__role{
	display: block;
	font-family: "Bellota Text", sans-serif;
	font-weight: 700;
}
.tl-cast-crew__name{
	color: #FFB700;
	font-size: 18px;
}
.tl-cast-crew__role{
	color: #fff;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.tl-cast-crew__empty{
	color: #fff;
	text-align: center;
}
@media (max-width: 1024px){
	.tl-cast-crew{
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 767px){
	.tl-cast-crew{
		grid-template-columns: 1fr;
	}
}
/* cast & crew END */

/* show cards (loop templates) - equal heights
 * Posters are cropped to one portrait ratio, and the info block
 * stretches so every card in a row ends at the same line. */
.elementor-grid > .e-loop-item:has(> .tl-card){
	display: flex;
	flex-direction: column;
}
.elementor-grid > .e-loop-item > .tl-card,
.elementor-grid > .e-loop-item > .tl-card > .e-con-inner,
.elementor-grid > .e-loop-item > .tl-card .tl-card-info{
	flex-grow: 1;
}
.tl-poster img{
	width: 100%;
	aspect-ratio: 16 / 25;
	object-fit: cover;
	object-position: top center;
}
/* show cards END */

/* sponsor logos - on mobile the rows dissolve into one wrapping group
 * (the group's row/wrap layout is set on the container in Elementor) */
@media (max-width: 767px){
	.tl-sponsor-logos .e-con{
		display: contents;
	}
}
/* sponsor logos END */

/* hero slider dots - hollow yellow rings, active filled (colours set on the widget) */
.tl-ring-dots .swiper-pagination-bullet{
	box-sizing: border-box;
	border: 2px solid #FFB700;
	opacity: 1;
}
/* hero slider dots END */

/* single show hero - the background comes from a dynamic tag, so
 * Elementor doesn't output its size/position rules */
.tl-show-hero{
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
/* single show hero END */

/* production gallery */
.tl-gallery-clamp:not(.is-expanded){
	max-height: 1000px;
	overflow: hidden;
}
/* production gallery END */