/* 
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
*/

/* AVM */

/* 
 * HEADER
 */

/* Prevent menu resizing in some viewports */
#masthead .elementor-widget-navigation-menu > div > div > nav {
	min-width: fit-content !important;
}

/*
 * HOMEPAGE
 */

.home .loop-container.latest .listing-item img {
	max-width: 545px;
}

.home .loop-container.latest .listing-item .title {
	text-decoration: none;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2em;
}

.home .loop-container.latest .episode-date {
	display: none;
}

/* 
 * UTILS
 */

/* Display Posts plugin */
/* General */
.episode-content {
	display: flex;
    flex-direction: column;
    gap: 10px;
}

.episode-meta {
	display: flex;
    justify-content: space-between;
}

.display-posts-listing .listing-item img {
	border-radius: 4px;
}

/* Posts in Grid */
.display-posts-listing.grid {
	display: grid;
	grid-gap: 32px;
}

.display-posts-listing.grid .listing-item {
	display: flex;
    flex-direction: column;
    gap: 12px;
}	

.display-posts-listing.grid .title {
	display: block;
	text-decoration: none;
	font-size: 20px;
    font-weight: 600;
}

.display-posts-listing.grid img { 
	display: block; 
	height: auto;
	max-height: 200px;
    object-fit: cover;
}

/* Post w/ image on the left */
.display-posts-listing.image-left .listing-item {
	overflow: hidden; 
	margin-bottom: 16px;
	width: 100%;
}

.display-posts-listing.image-left .image {
	float: left;
	margin: 0 24px 0 0;
}

.display-posts-listing.image-left .title {
	display: block;
}

.display-posts-listing.image-left .excerpt-dash { 
	display: none; 
}

/* 
 * MEDIA QUIERIES
 */

@media only screen and (max-width: 40.063em) {
	.home .loop-container.latest .listing-item a.image {
		float: none;
	}
	.home .loop-container.latest .listing-item img {
		max-width: 100%;
	}	
}

@media (min-width: 600px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media (min-width: 1024px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}