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

:root {
  --sjl-primary-color: #00CC7E;
  --sjl-soft-gray: #EEECEA;
  --black: #000000;
  --white: #FFFFFF;
  --transparent: transparent;
}

.focus-word {
	color: var(--sjl-primary-color);
	font-style: italic;
}

.position-relative {
	position: relative !important;
}

.mt-auto {
	margin-top: auto !important;
}

.flex-0-0-auto {
  flex: 0 0 auto !important;
}

.sjl-home-hero-slider .swiper-pagination {
	bottom: 50px !important;
}

.sjl-post-card .card-top, .sjl-transparent-post-card .card-top {
	position: relative;
}

.sjl-post-card > .card-bottom, .sjl-transparent-post-card > .card-bottom, .sjl-event-post-card .card-bottom {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.sjl-post-card .card-top .elementor-post-info__terms-list, 
.sjl-transparent-post-card .card-top .elementor-post-info__terms-list,
.post-tags-transparent .elementor-post-info__terms-list{
  font-size: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;	
  gap: 8px !important;	
}

.sjl-post-card .card-top .elementor-post-info__terms-list-item:not(:last-child)::after, 
.sjl-transparent-post-card .card-top .elementor-post-info__terms-list-item:not(:last-child)::after,
.post-tags-transparent .elementor-post-info__terms-list-item:not(:last-child)::after{
  content: " " !important;
}

.sjl-post-card .card-post-info .elementor-post-info__terms-list-item, 
.sjl-transparent-post-card .card-post-info .elementor-post-info__terms-list-item {
	display: inline-block !important;
	color: var(--black) !important;
	font-size: 12px !important;
	line-height: 12px !important;
	font-weight: 300 !important;
	text-transform: uppercase !important;
	padding: 5px 16px;
	background-color: var(--sjl-soft-gray);
	border-radius: 18px;
	
}

.post-tags-transparent .elementor-post-info__terms-list-item {
	display: inline-block !important;
	color: var(--white) !important;
	font-size: 12px !important;
	line-height: 12px !important;
	font-weight: 400 !important;
	text-transform: uppercase !important;
	padding: 5px 16px;
	background-color: var(--transparent);
	border: 1px solid var(--white);
	border-radius: 18px;
}

.post-tags-transparent.tags-lg .elementor-post-info__terms-list-item {
	display: inline-block !important;
	color: var(--white) !important;
	font-size: 18px !important;
	line-height: 18px !important;
	font-weight: 400 !important;
	text-transform: uppercase !important;
	padding: 12px 40px;
	background-color: var(--transparent);
	border: 1px solid var(--white);
	border-radius: 30px;
}

.sjl-post-card .elementor-widget-icon-box, .sjl-transparent-post-card .elementor-widget-icon-box, .sjl-event-post-card .elementor-widget-button {
	margin-top: auto !important;
}

.sjl-post-card .card-post-info, .sjl-transparent-post-card .card-post-info {
	position: absolute;
	left: 30px;
	bottom: 20px;
}

.sjl-post-card .elementor-icon-box-icon, .sjl-transparent-post-card .elementor-widget-icon-box {
	margin-top: 2px;
}


.sjl-post-card .elementor-heading-title, .sjl-transparent-post-card .elementor-heading-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sjl-post-card .elementor-widget-text-editor p, .sjl-transparent-post-card .elementor-widget-text-editor p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sjl-event-post-card .elementor-button-icon {
	width: 6px !important;
}

#recentBlogsGrid .elementor-loop-container {
	grid-template-columns: 2fr 1fr !important;
    grid-template-rows: 1fr 1fr !important;
}

#recentBlogsGrid .elementor-loop-container .e-loop-item:nth-of-type(1) {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
}

#recentBlogsGrid .e-loop-item {
  min-width: 0 !important;
  min-height: 0 !important;
}

#recentBlogsGrid .e-loop-item > a {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
}

#recentBlogsGrid .e-loop-item > a > * {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

#recentBlogsGrid .e-loop-item > a img {
  width: 100% !important;	
  max-width: 100% !important;
  display: block !important;
}

#recentBlogsGrid .elementor-loop-container .e-loop-item .sjl-post-card .card-top .elementor-widget-image {
	height: 100% !important;
}

#recentBlogsGrid .elementor-loop-container .e-loop-item:nth-child(n+3) .sjl-post-card .card-top .elementor-widget-image {
	min-height: 239px !important;
}

#recentBlogsGrid .elementor-loop-container .e-loop-item .sjl-post-card img {
	height: 100% !important;
	object-fit: cover !important;
}


#recentBlogsGrid .elementor-loop-container .e-loop-item:nth-of-type(1) .sjl-post-card .card-top .elementor-widget-image {
  min-height: 551px !important;
}

.sjl-blog-post-content figure img {
	width: 100%;
	max-width: 100%;
	object-fit: cover;
}

.col-2-image-pattern, .col-2-1-image-pattern, .sjl-single-blog-image {
	margin: 100px 0;
}

.col-2-image-pattern figure, .col-2-1-image-pattern figure, .col-2-image-pattern img, .col-2-1-image-pattern img {
	height: 100%;
}

.sjl-blog-post-content h2 {
	font-size: 26px !important;
	font-weight: 500 !important;
	line-height: 38px !important;
	margin: 60px 0 !important;
}

.sjl-blog-post-content p {
	font-size: 23px !important;
	font-weight: 300 !important;
	line-height: 38px !important;
	margin-bottom: 40px !important;
}

.sjl-blog-post-content p:last-child {
	margin-bottom: 0 !important;
}

.blog-taxonomy-filter [data-filter="blog"] {
  display: none !important;
}

@media (min-width: 768px) {
    #recentBlogsGrid .elementor-loop-container .e-loop-item:nth-of-type(1) .sjl-post-card .elementor-heading-title {
        font-size: 26px !important;
        line-height: 34px !important;
        max-width: 550px !important;
    }
	
	#recentBlogsGrid .elementor-loop-container .e-loop-item:nth-of-type(1) .sjl-post-card .card-bottom {
  		padding: 30px !important;
    }
	
	#recentBlogsGrid .elementor-loop-container .e-loop-item:nth-child(n+3) .sjl-post-card .card-bottom {
  		padding-bottom: 20px !important;
    }
	
	#recentBlogsGrid .elementor-loop-container .e-loop-item:nth-child(n+3) .sjl-post-card .elementor-widget-icon-box {
  		padding: 5px 12px 5px 15px !important;
	}
}

@media (max-width: 1024px) {
	
	#recentBlogsGrid .elementor-loop-container .e-loop-item:nth-child(n+3) .sjl-post-card .card-top .elementor-widget-image {
		min-height: 165px !important;
	}
	
	#recentBlogsGrid .elementor-loop-container .e-loop-item:nth-of-type(1) .sjl-post-card .card-top .elementor-widget-image {
		min-height: 396px !important;
	}
	
	.col-2-image-pattern, .col-2-1-image-pattern, .sjl-single-blog-image {
		margin: 50px 0;
	}
	
	.sjl-blog-post-content h2 {
		margin: 40px 0 !important;
	}
}

@media (max-width: 767px) {
    #recentBlogsGrid .elementor-loop-container {
    	grid-template-columns: 1fr !important;
     }

    #recentBlogsGrid .elementor-loop-container .e-loop-item {
    	grid-column: 1 !important;
     }
	
    #recentBlogsGrid .elementor-loop-container .e-loop-item:nth-child(n+3) .sjl-post-card .card-top .elementor-widget-image,
    #recentBlogsGrid .elementor-loop-container .e-loop-item:nth-of-type(1) .sjl-post-card .card-top .elementor-widget-image {
		min-height: 250px !important;
		max-height: 250px !important;
		height: 250px !important;
	}
	
	.post-tags-transparent.tags-lg .elementor-post-info__terms-list-item {
		display: inline-block !important;
		color: var(--white) !important;
		font-size: 12px !important;
		line-height: 12px !important;
		font-weight: 400 !important;
		text-transform: uppercase !important;
		padding: 5px 16px;
		background-color: var(--transparent);
		border: 1px solid var(--white);
		border-radius: 18px;
	}
	
	.sjl-blog-post-content p {
		font-size: 18px !important;
		line-height: 30px !important;
	}
	
	.col-2-image-pattern, .col-2-1-image-pattern {
		gap: 50px;
	}
  	
}