/* **********************************************************
 * BLOG
 * ******************************************************** */

/* Blog Heading Sizes */
.elementor-kit-7.single-post .jupiterx-post-body h1 {
	font-size: 2.5rem;
}
.elementor-kit-7.single-post .jupiterx-post-body h2 {
	font-size: 2.25rem;	
}
.elementor-kit-7.single-post .jupiterx-post-body h3 {
	font-size: 2rem;	
}
.elementor-kit-7.single-post .jupiterx-post-body h4 {
	font-size: 1.75rem;	
}
.elementor-kit-7.single-post .jupiterx-post-body h5 {
	font-size: 1.5rem;	
}
.elementor-kit-7.single-post .jupiterx-post-body h6 {
	font-size: 1.25rem;	
}

/* Blog Buttons */
/* a.raven-post-button {
    padding: ;	
} */


/* **********************************************************
 * BLOG SIDEBAR
 * ******************************************************** */

/* .single-post .jupiterx-sidebar {
	background-color: var(--e-global-color-primary);
    padding: 1.5rem 1.5rem 1.5rem 1.5rem !important;
    border-radius: 1rem 1rem 1rem 1rem;
} */

.single-post .jupiterx-main-content .row {
	align-items: flex-start !important;
/* 	flex-direction: row-reverse !important; */
}

.blog-sidebar .jet-ajax-search__field[type="search"], .single-post .jet-ajax-search__field[type="search"] {
    border-top-left-radius: 0.5rem !important;
    border-bottom-left-radius: 0.5rem !important;
    background-color: white !important;
}

.blog-sidebar .jet-ajax-search__submit[type="submit"], .single-post .jet-ajax-search__submit[type="submit"] {
    border-radius: 0 !important;
    border-top-right-radius: 0.5rem !important;
    border-bottom-right-radius: 0.5rem !important;
}

.blog-sidebar h3.card-title, .single-post h3.card-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #222E17 !important;
}

/* .blog-sidebar .wp-block-latest-posts li > a, .single-post .wp-block-latest-posts li > a {
    color: white !important;
}
 */
.blog-sidebar .wp-block-latest-posts li > a:hover, .blog-sidebar .wp-block-latest-posts li > a:focus, .single-post .wp-block-latest-posts li > a:hover, .single-post .wp-block-latest-posts li > a:focus {
    color: #986521 !important;
}

.blog-sidebar .select-wrapper, .single-post .select-wrapper {
    position: relative;
    width: 100%;
    border: 1px solid #595944;
}

.blog-sidebar .select-wrapper select, .single-post .select-wrapper select {
    padding: 0.4rem 1rem;
    width: 100%;
    appearance: none !important;
    -webkit-appearance: none !important;
/*     color: white !important; */
    -moz-appearance: none !important;
    border: 0 !important;
    background-color: transparent !important;
}

.blog-sidebar .select-wrapper:after, .single-post .select-wrapper:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    margin-left: 10px;
    font-size: 1.5rem;
    color: inherit;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    bottom: auto;
    position: absolute;
    z-index: 2;
    transition: all .5s ease;
    opacity: 1;
    color: white;
    pointer-events: none;
}

@media (max-width: 768px) {
  .jupiterx-widget .jet-ajax-search__form .jet-ajax-search__submit[type="submit"], .jupiterx-widget .jet-ajax-search__field[type="search"] {
    border-radius: .5rem !important
  }
}



/* *****************************
 * BLOG LANDING & ARCHIVE 
 * *************************** */
/* Blog Search Box - Use code if need to adjust focus state of blog search field 
.elementor-search-form--skin-minimal:focus-within {
    outline-width: 0 !important;
    outline-style: unset !important;
}

*/


/* *****************************
 * BLOG SELECT
 * *************************** */
.jet-select select {
	background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;	
	position: relative;
}
.jet-select .jet-select__control {
    background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}
.jet-select:after {
	align-items: center;
	content: "\e909";
	display: flex;
	font-family: 'Happy Icons' !important;
	font-size: 16px;
	font-weight: 900;
	justify-content: flex-end;
	pointer-events: none;
	position: absolute;
	right: 1rem;
	top: calc(50% + 1px);
	color: #fff !important;
}
.jet-select:after {
    transform: translateY(-50%);	
}
.jet-filter {
    --tabindex-color: #ccc !important;
    --tabindex-shadow-color: transparent !important; 
}


/* *****************************
 * BLOG ARCHIVE
 * *************************** */
.btn-archive-view-all a {
    width: 100%;
}


/* *****************************
 * BLOG SINGLE
 * *************************** */
/* SOCIAL */
.single-post .jupiterx-social-share-link {
	color: #fff;
	margin: 2rem 1rem 1rem 0;
	border-radius: 0;
	width: auto !important;
}
.single-post .jupiterx-icon {
	opacity: 1 !important;
	padding: .5rem;
	width: auto !important;
}
.single-post .jupiterx-social-share-link:hover {
	color: #EEE;
}

/* BLOG SINGLE TEMPLATE IF USED - POST NAVIGATION */
.raven-post-navigation {
    display: flex !important;
}
.raven-post-navigation [rel="next"],
.raven-post-navigation [rel="prev"] {
    width: 50% !important;   
}
.raven-post-navigation .raven-post-navigation-title {
	margin-top: 0 !important;
}

@media (max-width: 768px) { 
    .raven-post-navigation {
        display: flex !important;
        flex-direction: column;
    }    
    .raven-post-navigation [rel="next"],
    .raven-post-navigation [rel="prev"] {
        padding-bottom: 2rem;
        width: 100% !important;   
    }
}
@media (max-width: 480px) {
    .elementor-widget-raven-post-navigation.raven-post-navigation-type-image-box .raven-post-navigation {
        grid-template-columns: 1fr
    }
    .raven-post-navigation {
        display: flex !important;
        flex-direction: column;
    }    
	.raven-post-navigation-content-wrapper {
        width: 100% !important;   		
    }	
	body .elementor-widget-raven-post-navigation.raven-post-navigation-type-standard .raven-post-navigation-next-previous-content {
		display: flex !important;
	}
    .raven-post-navigation [rel="next"],
    .raven-post-navigation [rel="prev"] {
		display: block !important;
        padding-bottom: 1rem;
        width: 100% !important; 	
    }
}


/* *****************************
 * RAVEN MATRIX NEWS LANDING LOOP TEMPLATE
 * *************************** */
.raven-posts.raven-posts-matrix .raven-sortable-items {
    background: var(--e-global-color-secondary);
    padding: 0.5rem;
    border: 1px solid var(--e-global-color-primary);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
	.raven-posts.raven-posts-matrix .raven-posts-item.raven-matrix-item {
		width: 100% !important;
	}
}


/* *****************************
 * BLOG LOOP - ROW 1 One Post - ROW 2 Three Posts - ROW 3 One Post, etc
 * *************************** */
.posts-loop .elementor-posts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.posts-loop .elementor-posts-container .elementor-post {
  flex: 1 1 100%;
}
/* Full width for 1st and 5th posts */
.posts-loop .elementor-posts-container .elementor-post:nth-child(1),
.posts-loop .elementor-posts-container .elementor-post:nth-child(5) {
  flex: 1 1 100%; 
}
 /* Three posts per row */
.posts-loop .elementor-posts-container .elementor-post:nth-child(2),
.posts-loop .elementor-posts-container .elementor-post:nth-child(3),
.posts-loop .elementor-posts-container .elementor-post:nth-child(4),
.posts-loop .elementor-posts-container .elementor-post:nth-child(6),
.posts-loop .elementor-posts-container .elementor-post:nth-child(7),
.posts-loop .elementor-posts-container .elementor-post:nth-child(8) {
  flex: 1 1 calc(33.33% - 1.5rem);
}

@media (max-width: 1200px) and (min-width: 769px) {
  /* First row - 1 post */
  .posts-loop .elementor-posts-container .elementor-post:nth-child(1) {
    flex: 1 1 100%;
  }
  /* Alternating rows - 2 posts per row */
  .posts-loop .elementor-posts-container .elementor-post:nth-child(2),
  .posts-loop .elementor-posts-container .elementor-post:nth-child(3),
  .posts-loop .elementor-posts-container .elementor-post:nth-child(4),
  .posts-loop .elementor-posts-container .elementor-post:nth-child(5),
  .posts-loop .elementor-posts-container .elementor-post:nth-child(6),
  .posts-loop .elementor-posts-container .elementor-post:nth-child(7),
  .posts-loop .elementor-posts-container .elementor-post:nth-child(8) {
    flex: 1 1 calc(50% - 1.5rem); /* 2 posts per row */
  }
  /* Last post full width if needed */
  .posts-loop .elementor-posts-container .elementor-post:nth-child(odd):last-child {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  /* All Rows Full Width */
  .posts-loop .elementor-posts-container .elementor-post {
    flex: 1 1 100% !important;
  }
}