/* 
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 */
body main#content{
	margin-top:72px;
}


/* =========================================
   NEWS LISTING
========================================= */

.custom-news-listing {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}


/* -----------------------------------------
   HEADER
----------------------------------------- */

.custom-news-header {
    margin-bottom: 24px;
}

.custom-news-title {
    margin: 0 0 20px;
    padding: 0;
	font-family:"Libre Baskerville";
    color: #1F2124;
    font-size: 28px;
    line-height: 48px;
    font-weight: 700;
}


/* -----------------------------------------
   FILTERS
----------------------------------------- */

.custom-news-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.custom-news-filter {
    margin: 0;
    padding: 12px 16px;
	border: 1px solid #1B4D2E;
    border-radius: 100px;
	gap: 10px;
    background: #ffffff;
    color: #1B4D2E;
	font-family:"Epilogue", sans-serif;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
   cursor: pointer;
    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.custom-news-filter:hover {
    background: #1B4D2E;
    border-color: #1B4D2E;
    color: #ffffff;
}

.custom-news-filter.active {
    background: #1B4D2E;
    border-color: #1B4D2E;
    color: #ffffff;
}


/* -----------------------------------------
   GRID
----------------------------------------- */

.custom-news-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    column-gap: 20px;
    row-gap: 20px;
}


/* -----------------------------------------
   CARD
----------------------------------------- */

.custom-news-card {
    min-width: 0;
}


/* -----------------------------------------
   IMAGE
----------------------------------------- */

.custom-news-image {
    display: block;
	width: 100%;
    height:153px;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: 8px;
}

.custom-news-image img{
	width:100%;
	height:100%;
	object-fit:cover;
}
.custom-news-image-inner {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.custom-news-image:hover .custom-news-image-inner {
    transform: scale(1.04);
}

.custom-news-placeholder {
    width: 100%;
    height: 100%;
    background: #e9e9e9;
}


/* -----------------------------------------
   CATEGORY
----------------------------------------- */

.custom-news-category {
    display: inline-flex;
	padding: 4px 8px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: 100px;
	background: #1B4D2E;
	color: #FFF;
	font-family: "Epilogue", sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: 500;
	line-height: 14px; /* 127.273% */
	margin-bottom:5px;
}


/* -----------------------------------------
   TITLE
----------------------------------------- */

.custom-news-card-title {
    margin: 0 0 5px;

    font-size: 13px;
    line-height: 1.28;
    font-weight: 600;
}

.custom-news-card-title a {
    color: #1F2124;
	font-family: "Epilogue", sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 28px; /* 155.556% */
	text-decoration:none;
}

/* -----------------------------------------
   DATE
----------------------------------------- */

.custom-news-date {
    color: #4D5156;
	font-family: "Epilogue", sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px; /* 150% */
}


/* -----------------------------------------
   VIEW MORE
----------------------------------------- */

.custom-news-more {
    margin-top: 32px;

    text-align: center;
}

.custom-news-more-button {
    display: inline-flex;
	width: 180px;
	padding: 12px 16px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: 100px;
	border: 1px solid #1B4D2E;
    text-decoration: none;
	color: #1B4D2E;
	font-family: var(--Body, Epilogue);
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 20px; /* 142.857% */

    transition:
        background-color .2s ease,
        color .2s ease;
}

.custom-news-more-button:hover {
    background: #1B4D2E;
    color: #ffffff;
}

/* Single post layout */
.blog-detail {
	--blog-green: #28583c;
	--blog-text: #454545;
	--blog-muted: #777;
	--blog-border: #e4e8e3;

	width: 100%;
	padding: 0;
	background: #fff;
	color: var(--blog-text);
	font-family: Arial, Helvetica, sans-serif;
}

.blog-detail,
.blog-detail * {
	box-sizing: border-box;
}

.blog-detail .blog-article{
	width: 100%;
	max-width: 846px;
	margin: 0 auto;
	padding:72px 0;
}

.blog-related{
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding:72px 60px;

}

.blog-detail .cta{
	background:#FAF9F6 !important;
	border-color:#1B4D2E !important;
	color:#1B4D2E !important;
}

.blog-detail .cta p{
	margin-bottom:0 !important;
}
.blog-detail a{
	color:#1B4D2E !important;
	text-decoration: underline;
}
/* Title and date */
.blog-detail .blog-heading {
	margin-bottom: 12px;
}

.blog-detail .blog-title {
	color: #1B4D2E;
	font-family: "Libre Baskerville";
	font-size: 46px;
	font-style: normal;
	font-weight: 700;
	line-height: 62.4px; /* 135.652% */
	margin-bottom:12px;
}

.blog-detail .blog-meta {
	color: #4D5156;
	text-align: center;
	font-family: "Epilogue", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; /* 150% */
	display:inline-flex;
	gap:12px;
}

.blog-meta .blog-meta-author{
	color: #4D5156;
	text-align: center;
	font-family: "Epilogue", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; /* 150% */
}

/* Featured image */
.blog-detail .blog-featured-image {
	margin: 0 0 32px;
	border-radius:8px;
}
.blog-featured-image {
	border-radius:8px;
}

.blog-detail .blog-cover {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

/* Article typography */
.blog-detail .blog-content {
	font-size: 16px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.blog-detail .blog-content > :first-child {
	margin-top: 0;
}

.blog-detail .blog-content p, .blog-detail .blog-content li {
	color: #4D5156;
	font-family: "Epilogue", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px; /* 150% */
	margin-bottom:32px;
}

.blog-detail .blog-content h2,
.blog-detail .blog-content h3,
.blog-detail .blog-content h4 {
	color: #1F2124;
	font-family: "Libre Baskerville", sans-serif;
	font-size: 28px;
	font-style: normal;
	font-weight: 600;
	line-height: 40px; /* 142.857% */
}

.blog-detail .blog-content h2 {
	margin: 0 0 32px;
	}

.blog-detail .blog-content h3 {
	margin: 0 0 32px;
	
}

.blog-detail .blog-content h4 {
	margin: 0 0 32px;
	
}

.blog-detail .blog-content ul,
.blog-detail .blog-content ol {
	margin: 0 0 32px;
	padding-left: 24px;
}

.blog-detail .blog-content li {
	margin-bottom: 10px;
}

.blog-detail .blog-content blockquote p:last-child {
	margin-bottom: 0;
}

.blog-detail .blog-content img,
.blog-detail .blog-content video {
	max-width: 100%;
	height: auto;
}

.blog-detail .blog-content figure {
	max-width: 100%;
}

.blog-detail .blog-content figcaption {
	margin-top: 8px;
	color: var(--blog-muted);
	font-size: 13px;
	text-align: center;
}

.blog-detail .blog-content pre {
	max-width: 100%;
	overflow-x: auto;
	padding: 20px;
	background: #f5f7f3;
}

.blog-detail .blog-content .wp-block-table {
	overflow-x: auto;
}

.blog-detail .blog-page-links {
	margin-top: 24px;
}

/* Author */
.blog-detail .blog-author {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-top: 38px;
	padding-top: 24px;
	border-top: 1px solid var(--blog-border);
}

.blog-detail .blog-author-avatar {
	flex: 0 0 64px;
}

.blog-detail .blog-author-avatar img {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.blog-detail .blog-author-label {
	margin: 0 0 4px;
	color: var(--blog-muted);
	font-size: 12px;
}

.blog-detail .blog-author-name {
	margin: 0 0 8px;
	color: var(--blog-green);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 21px;
	font-weight: 400;
}

.blog-detail .blog-author-description {
	font-size: 14px;
	line-height: 1.7;
}

.blog-detail .blog-author-description p {
	margin: 0 0 10px;
}

/* Related posts */
.blog-related {
	border-top: 1px solid rgba(27, 77, 46, 0.10);
}

.blog-relates .blog-related-heading {
	color: #1F2124;
	/* H2 - Bold */
	font-family: "Libre Baskerville", sans-serif;
	font-size: 38px;
	font-style: normal;
	font-weight: 700;
	line-height: 48px; /* 126.316% */
	margin-bottom:32px;
	}

.blog-related .blog-related-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.blog-related .blog-related-card {
	min-width: 0;
}

.blog-related .blog-related-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.blog-related .blog-related-image {
	aspect-ratio: 16 / 10;
	margin-bottom: 12px;
	overflow: hidden;
	background: #edf1e9;
}

.blog-related .blog-related-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
	border-radius:8px;
}

.blog-related .blog-image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #edf1e9, #d5e1cf);
}

.blog-related .blog-related-card h3 {
	color:  #1F2124;
	font-family: "Epilogue", sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 28px; /* 155.556% */
	margin-bottom:12px;
}

.blog-related .blog-related-link:hover img {
	transform: scale(1.035);
}

.blog-related .blog-related-link:focus-visible {
	outline: 2px solid var(--blog-green);
	outline-offset: 5px;
}

.blog-related .blog-related-card time {
	color: #4D5156;
	font-family: "Epilogue", sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px; /* 150% */
}

/* Mobile */
@media (max-width: 767px) {
	.blog-detail {
		padding: 32px 16px 32px 16px;
	}

	.blog-detail .blog-article{
		padding:0px;
	}
	.blog-detail .blog-title {
		font-size: 38px;
		font-style: normal;
		font-weight: 700;
		line-height: 48px; 
	}

	.blog-detail .blog-content {
		font-size: 16px;
		font-style: normal;
		font-weight: 400;
		line-height: 24px; 
	}

	.blog-detail .blog-meta{
		font-size: 12px;
		font-style: normal;
		font-weight: 400;
		line-height: 18px;
	}
	.blog-meta .blog-meta-author{
		font-size: 12px;
		font-style: normal;
		font-weight: 400;
		line-height: 18px;
	}

	.blog-detail .blog-content h2 {
		font-size: 28px;
		font-style: normal;
		font-weight: 600;
		line-height: 40px; 
	}

	.blog-detail .blog-content h3 {
		font-size: 24px;
		font-style: normal;
		font-weight: 600;
		line-height: 32px;
	}

	.blog-related{
		padding:32px 16px 32px 16px;
	}

	.blog-related .blog-related-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.blog-detail .blog-author {
		gap: 14px;
	}

	.blog-related .blog-related-card h3{
		font-size: 18px;
		font-style: normal;
		font-weight: 600;
		line-height: 28px;
	}

	.blog-related .blog-related-card time{
		font-size: 12px;
		font-style: normal;
		font-weight: 400;
		line-height: 18px; 
	}
}

.related-posts-title{
	font-size: 38px;
	font-style: normal;
	font-weight: 700;
	line-height: 48px;
}

@media (max-width: 767px){
	.related-posts-title{
		font-size: 28px;
		font-style: normal;
		font-weight: 700;
		line-height: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.blog-related .blog-related-image img {
		transition: none;
	}
}


/* -----------------------------------------
   TABLET
----------------------------------------- */

@media (max-width: 1024px) {

    .custom-news-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* -----------------------------------------
   MOBILE
----------------------------------------- */

@media (max-width: 767px) {

    .custom-news-listing {
        padding-left: 15px;
        padding-right: 15px;
    }

    .custom-news-title {
        font-size: 28px;
		line-height:40px;
		font-weight:700;
    }

	.custom-news-filter{
		padding:8px 16px;
		gap: 10px;
		font-size: 14px;
		font-style: normal;
		font-weight: 500;
		line-height: 20px; 
	}

	.custom-news-category{
		padding: 4px 8px;
		justify-content: center;
		align-items: center;
		gap: 10px;
		font-size: 11px;
		font-style: normal;
		font-weight: 500;
		line-height: 14px;
	}

    .custom-news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 12px;
        row-gap: 25px;
    }

    .custom-news-card-title {
        font-size: 18px;
		font-style: normal;
		font-weight: 600;
		line-height: 28px;
    }

	.custom-news-date{
		font-size: 12px;
		font-style: normal;
		font-weight: 400;
		line-height: 18px;
	}

	.custom-news-more-button{
		display: flex;
		padding: 12px 16px;
		justify-content: center;
		align-items: center;
		gap: 10px;
		align-self: stretch;
		font-size: 14px;
		font-style: normal;
		font-weight: 500;
		line-height: 20px; 
		width: 100%;
	}

}


/* -----------------------------------------
   SMALL MOBILE
----------------------------------------- */

@media (max-width: 480px) {

    .custom-news-grid {
        grid-template-columns: 1fr;
    }

    .custom-news-image {
        aspect-ratio: 1.7 / 1;
    }

}


/* =========================================
   AJAX LOADING
========================================= */

.custom-news-loading {
    display: none;

    margin-top: 20px;

    text-align: center;

    color: #285333;

    font-size: 11px;
}

.custom-news-loading.show {
    display: block;
}


/* =========================================
   VIEW MORE BUTTON
========================================= */

.custom-news-more {
    margin-top: 35px;
    text-align: center;
}

.custom-news-more-button {
    min-width: 100px;

    cursor: pointer;

    font-family: inherit;
}

.custom-news-more-button:disabled {
    opacity: 0.5;
    cursor: wait;
}

.blog-detail .accordion-title{
	font-size:18px !important;
	margin-bottom:0 !important;
}

.blog-detail .cta-container-new1{
	margin-bottom:32px !important;
}