/* blog archive - layout */

html:not(.avada-has-site-width-percent) .page-template-page-blog #main {
  padding: 0px;
  position: relative;
}

.page-template-page-blog #main .fusion-row {
  max-width: unset;
}

.blog-archive__text-flair {
  display: none;
}

.blog-archive__header {
  background-position: center;
  background-size: cover;
  height: 446px;
}

.blog-archive__container {
  padding: 25px 15px;
}

.blog-archive__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: var(--site_width);
  margin: 0 auto;
}

.blog-archive__posts-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  margin-top: -18%;
}

.blog-archive__posts-container button {
  background-color: var(--button_gradient_top_color);
  color: var(--button_accent_hover_color);
  font-family: var(--button_typography-font-family);
  font-weight: var(--button_typography-font-weight);
  font-size: var(--button_font_size);
  text-transform: var(--button_text_transform);
  letter-spacing: var(--button_typography-letter-spacing);
  padding: 18px;
  border-radius: 4px;
  border: 0px;
  cursor: pointer;
	color: #117597;
	border: 2px solid #117597;
	border-radius: 4px;
}

.blog-archive__posts {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* blog archive - single post */

.archive-post {
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.archive-post__image {
  background-size: cover;
  background-position: center;
  height: 287px;
}

.archive-post__content {
  padding: 15px;
}

.archive-post__content h3 {
  margin: 8px 0px;
}

.archive-post__content p:first-of-type {
  margin-top: 0px;
}

/* blog archive - first single post */

.archive-post--first .archive-post__image {
  display: none;
}

.archive-post--first .archive-post__read-more {
  display: block;
}

/* blog archive - sidebar */

.blog-archive__sidebar {
  border-left: 2px solid #ECEDDA;
  padding: 0px 25px;
}

.blog-archive__sidebar h3 {
  margin: 0px;
}

.blog-archive__sidebar ul {
  padding: 0px;
  list-style: none;
}

.blog-archive__sidebar h4 {
  margin: 12px 0;
}

.blog-archive__sidebar a {
  color: #66B8D3;
}

@media screen and (min-width: 768px) {
  /* blog archive - layout */

  .blog-archive__text-flair {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
  }

  .blog-archive__header {
    height: 846px;
  }

  .blog-archive__container {
    padding: 35px 25px 150px;
  }

  .blog-archive__content {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .blog-archive__posts-container {
    flex: 1;
    gap: 48px;
  }

  .blog-archive__posts {
    gap: 48px;
  }

  /* blog archive - single post */

  .archive-post {
    flex-direction: row;
  }

  .archive-post--first h3 {
    margin-top: 40px;
    font-size: 80px;
  }

  .archive-post__content p {
    color: #000;
    /* paragraph */
    font-family: Industry;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%; /* 24.2px */
  }

  .archive-post__content h4 {
    margin-bottom: 0;
  }

  .archive-post__image {
    height: unset;
    width: 287px;
  }

  .archive-post__content {
    flex: 1;
    padding: 0 32px;
  }

  /* blog archive - sidebar */

  .blog-archive__sidebar {
    width: 244px;
  }

  .blog-archive__sidebar h4 {
    margin: 26px 0;
  }
}


/* single blog post */

html.avada-is-100-percent-template .single-post #main.width-100 {
  padding: 0px;
}

html.avada-is-100-percent-template .single-post .post {
  padding-top: 35px;
}

.blog-header {
  display: flex;
  position: relative;
  flex-direction: column;
	height: 400px;
}

.blog-header__title {
  padding: 0px 15px;
}

.blog-header__title h1 {
  font-size: 52px !important;
  line-height: 1.125;
  margin-bottom: 24px;
}

.blog-header__alpena-pattern {
  display: none;
}

.type-post .post-content-wrapper {
  padding: 0px 15px;
	margin-bottom: 100px;
}

.type-post .post-content {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
	padding: 20px;
}

.post-content__meta {
  display: flex;
  flex-direction: column;
}

.post-content__meta-tags {
  border-left: 2px solid #ECEDDA;
  padding: 0px 25px;
}

.post-content__meta-tags h3 {
	margin: 0;
}

.post-content__meta-tags a {
	color: #66B8D3;
}

.blog-header__featured-image {
    flex: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media screen and (min-width: 768px) {
  html.avada-is-100-percent-template .single-post .post {
    padding-top: 0px;
  }

  .blog-header {
    height: 634px;
    flex-direction: row;
  }

  .blog-header__title {
    padding: 0px;
    width: 100%;
    max-width: var(--site_width);
    margin: 0 auto;
  }

  .blog-header__title h1 {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    font-size: 72px !important;
    margin-top: -120px !important;
  }

  .blog-header__featured-image {
    flex: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .blog-header__featured-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .type-post .post-content-wrapper {
	flex-direction: row;
    align-items: flex-start;
    gap: 48px;
    display: flex;
	max-width: var(--site_width);
	margin: auto;
	margin-bottom: 150px;
  }

  .post-content__meta {
    width: 244px;
	margin-top: 40px;
  }
	
	.post-content__meta-tags h4 {
		margin: 26px 0;
	}
}
