/* BAC – Blog styles: single post + category archive. Loaded only there*/

/*_Single Post*/
/*__Background*/
.single-post:not(.material-ocm-open) #header-outer:not(.side-widget-open),
.single-post:not(.material-ocm-open) #header-outer:not(.side-widget-open) header,
.single-post.material #header-space {
  background-color: #bdd6db;
}

/* Keep after the blue rule: same specificity, order decides */
.single-post #header-outer.detached:not(.at-top),
.single-post #header-outer.detached:not(.at-top) header {
  background-color: #f6f6f6;
}

.single-post #header-outer {
  transition: background-color .3s ease;
}

.single-post .container-wrap {
  background: linear-gradient(180deg, #bdd6db 0, #f6f6f6 420px) !important;
}

/*__Header - hide author*/
.single-post .featured-media-under-header__meta-wrap .meta-author {
  display: none;
}

.single-post .featured-media-under-header__meta-wrap > span:not(:first-child):not(.rich-snippet-hidden):before {
  content: none;
}

/*__Header - category badge*/
.single-post .featured-media-under-header__cat-wrap .meta-category a,
.single-post .featured-media-under-header__cat-wrap .meta-category a:not(:hover) {
  background-color: var(--nectar-accent-color);
  color: #ffffff;
  border-radius: 0 !important;
  padding: .5em 1em;
  line-height: 1;
}

.single-post .featured-media-under-header__cat-wrap .meta-category a:hover {
  background-color: #043242;
  color: #ffffff;
}

/*__Related - section title*/
.single-post .related-post-wrap .related-title {
  font-size: clamp(20px, 1rem + 0.4vw, 24px);
  color: #043242;
}

/*__Related - card*/
.single-post .related-posts[data-style="material"] .inner-wrap {
  background-color: #ffffff;
  box-shadow: none !important;
  border-radius: 0;
}

/*__Related - category badge*/
.single-post .related-posts[data-style="material"] .meta-category a {
  display: inline-block;
  background-color: var(--nectar-accent-color);
  color: #ffffff;
  padding: .5em 1em;
  line-height: 1;
  font-size: 17px;
  font-weight: 300;
  transition: background-color .3s ease;
}

.single-post .related-posts[data-style="material"] .meta-category a:before {
  display: none;
}

.single-post .related-posts[data-style="material"] .meta-category a:hover {
  background-color: #043242;
}

/*__Related - image 16:9*/
.single-post .related-posts[data-style="material"] .post-featured-img img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/*__Related - title*/
.single-post .related-posts[data-style="material"] h3.title {
  font-size: clamp(18px, 0.9rem + 0.3vw, 21px);
  line-height: 1.4;
  color: #043242;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/*__Related - author*/
.single-post .related-posts[data-style="material"] .grav-wrap .text a {
  font-weight: 700;
  color: #043242;
}

/*__Related - section background*/
.single-post .related-post-wrap .row-bg-wrap .row-bg {
  background-color: transparent;
}

/*__Related - spacing*/
#ajax-content-wrap .related-post-wrap.first-section,
#ajax-content-wrap .related-post-wrap[data-using-post-pagination="false"] {
  margin-top: 0;
}

#ajax-content-wrap .related-post-wrap h3.related-title {
  padding-top: 0;
}

/*__Nectar Social - fixed position*/
body .nectar-social.fixed {
  left: 34px;
  right: 0;
}

/*_Category Archive*/
/*__Background*/
.archive.category .container-wrap,
.archive.category:not(.material-ocm-open) #header-outer:not(.side-widget-open),
.archive.category:not(.material-ocm-open) #header-outer:not(.side-widget-open) header,
.archive.category.material #header-space {
  background-color: #e3e3e3;
}

/*__Header - spacing*/
body.archive.category .page-header-no-bg.color-bg {
  padding: 45px 0 0;
}

.archive.category .container-wrap {
  padding-top: 80px;
}

/*__Header - title*/
.archive.category .blog-archive-header .section-title {
  text-align: center;
}

.archive.category .blog-archive-header .subheader {
  display: none;
}

html body.archive.category .blog-archive-header .row .col.section-title h1,
html body.archive.category .blog-archive-header .col.section-title h1 {
  font-size: 100px;
  line-height: 1.087;
  text-transform: uppercase;
}

/*__Card*/
.archive.category .masonry.material .masonry-blog-item .inner-wrap {
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
}

.archive.category .masonry.material .masonry-blog-item .article-content-wrap,
.archive.category .masonry.material .masonry-blog-item .meta-category {
  background-color: transparent;
}

.archive.category .masonry.material .masonry-blog-item .article-content-wrap {
  padding: 15px 0 0 !important;
  color: #043242;
}

/*__Card - category badge*/
.archive.category .masonry.material .masonry-blog-item .meta-category {
  padding: 20px 0 0;
}

.archive.category .masonry.material .masonry-blog-item .meta-category a {
  background-color: var(--nectar-accent-color);
  color: #ffffff !important;
  padding: .5em 1em;
  line-height: 1;
  font-size: 17px;
  font-weight: 300;
  margin: 0;
  transition: background-color .3s ease;
}

.archive.category .masonry.material .masonry-blog-item .meta-category a:before {
  display: none;
}

.archive.category .masonry.material .masonry-blog-item .meta-category a:hover {
  background-color: #043242;
}

/*__Card - title*/
.archive.category .masonry.material .masonry-blog-item h3.title {
  font-size: clamp(20px, 0.9rem + 0.55vw, 25px);
  line-height: 1.45;
  color: #043242;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

/*__Card - excerpt*/
.archive.category .masonry.material .masonry-blog-item .excerpt {
  font-size: clamp(15px, 0.8rem + 0.2vw, 17px);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 3em;
}

/*__Card - hide author*/
.archive.category .masonry.material .masonry-blog-item .grav-wrap {
  display: none;
}

/*_Mobile Menu Open*/
/*__Header transparent*/
.single-post.material-ocm-open #header-outer,
.single-post.material-ocm-open #header-outer header,
.archive.category.material-ocm-open #header-outer,
.archive.category.material-ocm-open #header-outer header {
  background-color: transparent !important;
  box-shadow: none !important;
}

.single-post #header-outer.side-widget-open,
.single-post #header-outer.side-widget-open header,
.archive.category #header-outer.side-widget-open,
.archive.category #header-outer.side-widget-open header {
  background-color: transparent !important;
  box-shadow: none !important;
}

/*_Responsive*/
/*__Laptop*/
@media only screen and (min-width: 1000px) and (max-width: 1440px) {
  body.archive.category .page-header-no-bg.color-bg {
    padding-top: 35px;
  }

  .archive.category .container-wrap {
    padding-top: 60px;
  }
}

/*__Tablet*/
@media only screen and (max-width: 999px) {
  body.archive.category .page-header-no-bg.color-bg {
    padding-top: 25px;
  }

  .archive.category .container-wrap {
    padding-top: 65px;
  }

  html body.archive.category .blog-archive-header .col.section-title h1 {
    font-size: 75px;
  }
}

/*__Mobile*/
@media only screen and (max-width: 690px) {
  /*__Single Post*/
  body.single-post .featured-media-under-header h1,
  body.single-post .featured-media-under-header h1.entry-title {
    font-size: 32px;
    line-height: 40px;
  }

  /*__Category Archive*/
  body.archive.category .page-header-no-bg.color-bg {
    padding-top: 20px;
  }

  .archive.category .container-wrap {
    padding-top: 60px;
  }

  html body.archive.category .blog-archive-header .col.section-title h1 {
    font-size: 48px;
  }
}