/*
 * Nibble theme - blog.css
 * Blog: post grids (.section-blogs/.blogs/.blog), article detail, post navigation. Loaded only in blog contexts (see nibble_is_blog_context()).
 * Consolidated from the legacy HubSpot CSS; order of files and rules is the cascade order (functions/assets.php).
 */

.section-blogs--alt {
  padding: 7.3rem 0 .6rem;
}

.section-blogs--alt .section__head {
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  align-items: center;
  margin-bottom: 2.2rem;
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .section-blogs--alt .section__head .link-alt,
  .section-blogs--alt .section__head h3 {
    margin: 0;
  }
}

.section-blogs {
  padding: 7.3rem 0 .6rem;
  position: relative;
}

.section-blogs .section__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.2rem;
}

.section-blogs .section__head h3 {
  margin-bottom: 0;
}

.section-blogs .section__actions {
  margin: 6rem 0 9.1rem;
  text-align: center;
}

/* AJAX "Load more" (site.js initLoadMore): dimmed while the next page is loading. */
.section-blogs .js-more.is-loading {
  cursor: progress;
  opacity: .6;
  pointer-events: none;
}

.section-blogs--detail {
  padding: 1.6rem 0;
}

@media (max-width: 1023px) {
  .section-blogs--detail {
    padding: 1.6rem 0 5rem;
  }
}

.section-blogs--detail .section__inner {
  margin: 0 auto;
  max-width: 87rem;
  min-height: 98rem;
}

@media (max-width: 1023px) {
  .section-blogs--detail .section__inner {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .section-blogs .section__head {
    flex-direction: column;
  }
  .section-blogs .section__head h3 {
    margin-bottom: 1rem;
  }
}

.blogs .blogs__items {
  display: flex;
  flex-wrap: wrap;
  margin: -2.4rem -2rem;
}

@media (max-width: 1023px) {
  .blogs .blogs__items {
    margin: -2rem;
  }
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .blogs .blogs__items {
    margin: 0;
  }
}

.blogs .blogs__item {
  padding: 2.4rem 2rem;
  width: 33.33%;
}

@media (max-width: 1023px) {
  .blogs .blogs__item {
    padding: 2rem;
    width: 50%;
  }
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .blogs .blogs__item {
    padding: 0;
    width: 100%;
  }
  .blogs .blogs__item + .blogs__item {
    margin-top: 2rem;
  }
}

.blog {
  background-color: #fff;
  border: .1rem solid #e0e6eb;
  border-radius: .8rem;
  overflow: hidden;
  position: relative;
  transition: .3s;
}

.blog:hover {
  box-shadow: 0 1.6rem 3.2rem rgba(102, 128, 153, .15);
}

.blog h5 {
  color: #3d4d5c;
  margin-bottom: 0;
}

.blog .blog__image {
  background-size: cover;
  padding-top: 49%;
}

.blog .blog__content {
  padding: 2.7rem 3.5rem 2.3rem;
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .blog .blog__content {
    padding: 2.5rem 1.5rem;
  }
}

.blog .blog__more {
  color: #1976d2;
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 1.2rem;
  position: relative;
  text-decoration: none;
  z-index: 5;
}

.blog .blog__more:hover {
  opacity: .7;
}

.blog .blog__link {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.article-detail {
  font-size: 1.8rem;
}

.article-detail .article__entry {
  line-height: 1.35;
}

.article-detail .article__date {
  margin-bottom: 3.5rem;
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
  .article-detail .article__date {
    margin-bottom: 3rem;
  }
}

.article__entry label {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .6rem;
  vertical-align: middle;
}

.article__entry input:not([type=checkbox]):not([type=radio]):not([type=submit]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: .1rem solid #c2ccd6;
  border-radius: .8rem;
  cursor: pointer;
  font-size: 1.8rem;
  min-height: 5.6rem;
  padding: 0 1.8rem;
  position: relative;
  -webkit-transition: .4s;
  transition: .4s;
  width: 100%;
}

.article__entry select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: .1rem solid #c2ccd6;
  border-radius: .8rem;
  cursor: pointer;
  font-size: 1.8rem;
  min-height: 5.6rem;
  position: relative;
  -webkit-transition: .4s;
  transition: .4s;
  width: 100%;
}

.article__entry textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: .1rem solid #c2ccd6;
  border-radius: .8rem;
  cursor: pointer;
  font-size: 1.8rem;
  position: relative;
  -webkit-transition: .4s;
  transition: .4s;
  width: 100%;
}

.article__entry input:focus,
.article__entry select:focus,
.article__entry textarea:focus {
  border-color: #1976d2;
  -webkit-box-shadow: 0 0 0 .2rem #1976d2;
  box-shadow: 0 0 0 .2rem #1976d2;
}

.article__entry select {
  padding: 0 4rem 0 1.8rem;
}

.article__entry textarea {
  min-height: 16.7rem;
  padding: 1.5rem 1.8rem;
}

.article__entry .hs-fieldtype-select .input {
  position: relative;
}

.article__entry .hs-fieldtype-select .input:after {
  background-image: url(/wp-content/themes/nibble/assets/svgs/arrow-down.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  content: "";
  height: .5rem;
  position: absolute;
  right: 2.4rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 1rem;
  z-index: 2;
}

.article__entry .field + .field {
  margin-top: 3.5rem;
}

.article__entry .field {
  display: flex;
  flex-wrap: wrap;
}

.article__entry .input {
  max-width: 100%;
  -webkit-box-flex: 0;
  flex: 0 0 100%;
}

.article__entry .hs-submit {
  margin-top: 3.5rem;
  text-align: center;
}

.article__entry .actions {
  background-color: #1976d2;
  border-radius: 2.4rem;
  color: #fff;
  display: inline-block;
  padding: 0 7rem 0 2.8rem;
  position: relative;
  text-align: center;
  -webkit-transition: .4s;
  transition: .4s;
}

@media (hover: hover) and (pointer: fine) {
  .article__entry .actions:hover {
    background-color: #0b66c1;
  }
}

.article__entry .actions:after {
  background-image: url(/wp-content/themes/nibble/assets/svgs/ico-send.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  content: "";
  height: 2rem;
  position: absolute;
  right: 3rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 2rem;
}

.article__entry .actions input {
  background-color: transparent;
  border: none;
  color: inherit;
  font-size: 2rem;
  font-weight: 700;
  padding: 0;
  width: auto;
}

.nav-links {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.nav-links .nav-next {
  text-align: right;
}

.css-slug-resources .section-blogs .section__head h3 {
  margin-bottom: inherit;
}

.article__entry .wpcf7 form .actions {
  padding: 1rem 7rem 1rem 2.8rem;
  margin-bottom: 2rem;
}

.hs-blog-post table td {
  vertical-align: middle;
}

.navigation.post-navigation {
  margin-top: 4rem;
  margin-bottom: 4rem;
}
