/*--------------------------------------------------------------
  Blog — listing, single post & shared components
  Builds on the existing cs-page_heading / cs-post / cs-accordian
  classes already shipped in style.css so the blog matches the
  rest of the site's theme.
----------------------------------------------------------------*/

/* Page heading (Blog index + single post hero)
   style.css gives this a fixed 650px (desktop) box meant for a big hero —
   far too tall for a short title + breadcrumb, which leaves a large empty
   gap. Override it to hug its own content instead. */
.cs-page_heading.cs-style1 {
  height: auto;
  padding: 170px 0 60px;
}

.cs-page_heading.cs-style1 .cs-page_heading_in {
  width: 100%;
}

@media screen and (max-width: 1199px) {
  .cs-page_heading.cs-style1 {
    padding: 150px 0 50px;
  }
}

@media screen and (max-width: 767px) {
  .cs-page_heading.cs-style1 {
    padding: 130px 0 45px;
  }
}

@media screen and (max-width: 575px) {
  .cs-page_heading.cs-style1 {
    padding: 115px 0 40px;
  }
}

.cs-page_heading.cs-style1 .cs-page_heading_row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  row-gap: 10px;
}

.cs-page_heading.cs-style1 .breadcrumb {
  margin-top: 4px;
}

.blog-kicker {
  display: inline-block;
  color: #74cbfb;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Blog index grid */
.blog-grid_wrap .cs-post.cs-style1 {
  height: 100%;
  min-height: 340px;
}

.blog-grid_wrap a.cs-post.cs-style1 {
  display: block;
}

.blog-grid_wrap .cs-post.cs-style1 .cs-post_thumb {
  height: 100%;
}

.blog-grid_wrap .cs-post.cs-style1 .cs-post_thumb img {
  height: 100%;
  min-height: 340px;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.6s ease;
  transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
  transition: transform 0.6s ease, -webkit-transform 0.6s ease;
}

.blog-grid_wrap a.cs-post.cs-style1:hover .cs-post_thumb img {
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}

.blog-grid_wrap .cs-post.cs-style1 .cs-post_thumb {
  overflow: hidden;
}

/* Single post article */
.blog-article {
  max-width: 840px;
  margin: 0 auto;
}

.blog-article .cs-post_thumb {
  border-radius: 15px;
  overflow: hidden;
}

.blog-article .cs-post_thumb img {
  width: 100%;
  border-radius: inherit;
}

.blog-article h2 {
  font-size: 30px;
  margin-top: 45px;
  margin-bottom: 18px;
}

.blog-article .cs-post.cs-style2 h3 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 14px;
}

.blog-article ul.blog-list {
  margin: 0 0 25px 0;
  padding-left: 0;
  list-style: none;
}

.blog-article ul.blog-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.6em;
}

.blog-article ul.blog-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background-color: #74cbfb;
}

.blog-article p a,
.blog-cta a.cs-text_link {
  color: #74cbfb;
  text-decoration: underline;
}

/* FAQ accordion */
.blog-faq .cs-accordian_title {
  font-size: 18px;
}

.blog-faq .cs-accordian_toggle svg {
  width: 16px;
  height: 16px;
}

/* CTA callout used inside article body */
.blog-cta {
  background-color: #000;
  border-left: 5px solid #74cbfb;
  border-radius: 6px;
  padding: 30px 32px;
  margin: 15px 0 45px;
}

.blog-cta p {
  color: #FEFEFE;
  margin-bottom: 18px;
  font-size: 17px;
}

.blog-cta p:last-child {
  margin-bottom: 0;
}

/* Author / meta strip */
.blog-meta_strip {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 30px;
}

.blog-meta_strip>span {
  position: relative;
  display: inline-block;
  font-size: 15px;
  color: rgba(254, 254, 254, 0.7);
}

.blog-meta_strip>span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 4px;
  height: 14px;
  width: 2px;
  background-color: rgba(254, 254, 254, 0.35);
}

/* Related posts */
.blog-related .cs-post.cs-style1 {
  min-height: 260px;
}

.blog-related .cs-post.cs-style1 .cs-post_thumb img {
  height: 260px;
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .blog-article h2 {
    font-size: 26px;
  }

  .blog-cta {
    padding: 25px 22px;
  }
}
