/* 
Theme Name:		 Artesia Child
Theme URI:		 https://artesia.ancorathemes.com/
Description:	 Artesia Child is a child theme of Artesia
Author:			 Jithu
Author URI:		 https://novalabs.co
Template:		 artesia
Version:		 1.0.0
Text Domain:	 artesia-child
*/

body.body_style_wide {
  --theme-var-page: 100%;
}

body.body_style_wide {
  --page-custom-padding: 6rem;
}

body.body_style_wide .page_wrap {
  padding: 0 var(--page-custom-padding);
}

body.body_style_wide.custom-background .content_wrap>.content,
.background_banner_wrap~.content_wrap>.content {
  padding: 0;
}

.header_position_over .top_panel,
body .page-main-padding-x {
  padding-left: var(--page-custom-padding) !important;
  padding-right: var(--page-custom-padding) !important;
}

.posts_container.columns_wrap .post_layout_classic {
  background: rgba(255, 255, 255, 0.20);
  border-radius: 32px;
  padding-bottom: 24px;
}

.posts_container.classic_wrap .post_layout_classic .post_featured {
  margin-bottom: 0;
  height: 14vw;
  max-height: 283px;
  min-height: 232px;
  width: 100%;
}

.posts_container.classic_wrap .post_layout_classic .post_title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: clamp(1.125rem, 0.9643rem + 0.7143vw, 1.5rem);
  font-weight: 600;
}

.posts_container.classic_wrap .post_featured.with_thumb img,
.posts_container.classic_wrap .sc_layouts_blog_item_featured .post_featured.with_thumb img {
  width: 100%;
  object-fit: cover;
  height: 100%;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}

.posts_container.classic_wrap .post_layout_classic .post_header {
  padding: 24px 24px 0px;
}

.posts_container.classic_wrap .post_layout_classic .post_header+.post_content {
  padding: 0px 24px;
}

.posts_container.classic_wrap .format-link .post_content_inner,
.posts_container.classic_wrap .format-status .post_content_inner {
  max-height: 145px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  margin-bottom: 0;
  padding-top: 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
}

.posts_container.classic_wrap .post_layout_classic .post_title a,
.posts_container.classic_wrap .post_meta_item a {
  color: #fff;
}

.posts_container.classic_wrap .post_layout_classic .post_meta_item.post_categories a {
  color: #fff;
}

.pagination {
  justify-content: center;
}

.esg-filters div.esg-navigationbutton,
.woocommerce nav.woocommerce-pagination ul li a,
.page_links>a,
.comments_pagination .page-numbers,
.nav-links .page-numbers {
  color: #fff;
}

.nav-links .page-numbers.current,
.comments_pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li span.current,
.esg-filters div.esg-navigationbutton.selected {
  border-color: #fff;
  background-color: #fff;
  color: #000;
}

.custom-search-title {
  color: #fff;
  margin-top: 4rem;
}

.search-no-results .page_content_wrap,
.error404 .page_content_wrap {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
  background-color: transparent;
}

article.post_item_single.post_item_404.post_item_none_search {
  background-color: rgba(255, 255, 255, 0.20);
  border-radius: 32px;
  margin-top: 4rem;
  padding: 1rem;
}

.post_item_none_search .page_info .page_subtitle,
.post_item_none_search .page_info .page_description {
  color: #fff;
}

.post_item_none_search .page_info .page_description>a {
  color: var(--theme-color-text_light);
  font-weight: 700;
}

.post_item_none_search .search_wrap .search_field,
.post_item_none_archive .search_wrap .search_field {
  border-color: #fff;
  border-radius: 14px;
}

.post_item_none_search .search_style_normal.search_wrap .search_submit:before {
  color: #fff;
}

/** elementor accordion global styles */
.elementor-accordion {
  --title-height: 60px;
}
.elementor-accordion .elementor-accordion-item {
  margin-bottom: 15px;
}

.elementor-accordion .elementor-tab-title::before {
  content: '';
  width: var(--title-height);
  height: var(--title-height);
  display: block;
  position: absolute;
  background-color: #fff;
  top: 0;
  left: 0;
  clip-path: polygon(0% 0%, 100% 0%, 70% 100%, 0% 100%);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.elementor-accordion .elementor-tab-title::after {
  content: '';
  background-image: url(./custom-assets/icons/help.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 25px;
  height: 25px;
  display: block;
  position: absolute;
  top: 15px;
  left: 12px;
}

.elementor-accordion .elementor-tab-title {
  border-radius: 12px;
  position: relative;
  padding-top: 20px;
  padding-inline-start: var(--title-height);
  height: var(--title-height);
}

.elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-right {
  background-color: #fff;
  width: var(--title-height);
  height: var(--title-height);
  position: absolute;
  right: 0;
  top: 0;
  clip-path: polygon(15px 0%, 100% 0%, 100% 100%, 0% 100%);
  border-radius: 12px;
  border-bottom-left-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon.elementor-accordion-icon-right {
  border-bottom-right-radius: 0;
}

.elementor-accordion .elementor-tab-title.elementor-active,
.elementor-accordion .elementor-tab-title.elementor-active::before {
  border-bottom-left-radius: 0;
}

.elementor-accordion .elementor-tab-content.elementor-active {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

@media (max-width: 1024px) {
  body.body_style_wide {
    --page-custom-padding: 2rem;
  }

  .search-no-results .page_content_wrap,
  .error404 .page_content_wrap {
    padding-top: 3rem !important;
    background-color: transparent;
  }
}

@media (max-width: 768px) {
  body.body_style_wide {
    --page-custom-padding: 1rem;
  }
}