/**** Post detail excerpt  ****/
.cc-post-detail-excerpt {
  margin-bottom: 0 !important;
}

.cc-post-detail-excerpt p {
  font-family: 'Cormorant Garamond', sans-serif !important;
  font-weight: bold;
  font-size: 18px !important;
  line-height: 1.3 !important;
}

/**** Header Element  ****/
.cc-header-element {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 21px 15px 0 15px;
  min-height: 50vh;
}
.cc-header-element .image {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.cc-header-element .darken-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: #000000;
}
.cc-header-element .center-content {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 22vh;
}
.cc-header-element .title {
  font-family: 'cera-pro-bold', sans-serif;
  font-size: 90px;
  text-align: center;
  line-height: 1;
  margin: 0 16px;
}
.cc-header-element .links {
  max-width: 1024px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 40px;
}
.cc-header-element .links .link-item {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: normal;
  text-align: center;
  padding: 5px 20px;
  margin: 10px;
  display: inline;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 10px;
  background: transparent;
  -webkit-transition: all 0.1s ease;
  transition: all 0.1s ease;
}
.cc-header-element .links .link-item:hover,
.cc-header-element .links .link-item:focus,
.cc-header-element .links .link-item:active {
  background: #fb0754;
  border-color: #fb0754;
}
.cc-header-element .button {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;
  font-weight: normal;
  font-size: 20px;
  line-height: 2.8;
  width: 255px;
  height: 55px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
}
.cc-header-element .bottom-info {
  margin-top: auto;
}
.cc-header-element .bottom-info {
  text-align: center;
  padding-top: 50px;
}
.cc-header-element .bottom-info,
.cc-header-element .bottom-info a {
  color: #ffffff;
  font-size: 18px;
}
.cc-header-element .bottom-info a {
  text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .cc-header-element {
    min-height: calc(100vh - 125px);
  }
  .cc-header-element .center-content {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: auto;
  }
  .cc-header-element .title {
    font-size: 35px;
    margin: 0 0 18px 0;
  }
  .cc-header-element .links {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .cc-header-element .links .link-item {
    display: none;
  }
  .cc-header-element .links .link-item.display-mobile {
    display: inline;
  }
  .cc-header-element .button {
    width: 200px;
  }
  .cc-header-element .bottom-info {
    padding-top: 21px;
    margin-bottom: 40px;
  }
}

/**** Author Profile Link Element  ****/

.cc-author-profile-link .button {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  padding: 0 55px;
  line-height: 46px;
  height: 46px;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
}

.cc-author-profile-link.content-horiz-left {
  text-align: left !important;
}

.cc-author-profile-link.content-horiz-center {
  text-align: center !important;
}

.cc-author-profile-link.content-horiz-right {
  text-align: right !important;
}

/**** Post detail related posts ****/
.cc-related-posts {
  margin-bottom: 20px !important;
  border-color: #eaeaea !important;
  border-style: solid !important;
  border-width: 0 !important;
}

/* landscape */
@media (min-width: 1019px) and (max-width: 1140px) {
  .cc-related-posts {
    padding-top: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
  }
}

/* phone */
@media (max-width: 767px) {
  .cc-related-posts {
    margin-bottom: 30px !important;
    max-width: calc(100% - 40px);
  }
}

/* custom css */

.cc-related-posts .td-block-title-wrap a,
.cc-related-posts .td-block-title-wrap span {
  font-family: 'cera-pro-bold', sans-serif !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #f1567a !important;
}

/* landscape */
@media (min-width: 1019px) and (max-width: 1140px) {
  .cc-related-posts .td-block-title-wrap a,
  .cc-related-posts .td-block-title-wrap span {
    font-family: 'cera-pro-bold', sans-serif !important;
    font-size: 19px !important;
    font-weight: 900 !important;
  }
}

/* portrait */
@media (min-width: 768px) and (max-width: 1018px) {
  .cc-related-posts .td-block-title-wrap a,
  .cc-related-posts .td-block-title-wrap span {
    font-family: 'cera-pro-bold', sans-serif !important;
    font-size: 18px !important;
    font-weight: 900 !important;
  }
}

.cc-related-posts .td-image-wrap {
  padding-bottom: 100%;
}

.cc-related-posts .td-image-container {
  flex: 0 0 26%;
  width: 26%;
  display: block;
  order: 1;
}

.cc-related-posts .entry-thumb {
  background-position: center 50%;
  background-size: cover;
  height: 80px;
  width: 80px;
}

.cc-related-posts .td-module-container {
  flex-direction: row;
  padding: 10px 0 0 0;
  border-width: 1px 0 0 0;
  border-style: solid;
  border-color: #8c8c8c;
  flex-grow: 1;
  display: flex;
}

.cc-related-posts .td-module-meta-info {
  flex: 1;
  padding: 4px 10px 0 0;
  border-color: #eaeaea;
}

.cc-related-posts .td_module_wrap {
  width: 100%;
  float: left;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  display: flex;
}

.cc-related-posts .tdb-block-inner {
  margin-left: -20px;
  margin-right: -20px;
}

.cc-related-posts .td-module-container:before {
  bottom: -5px;
  border-color: #eaeaea;
}

.cc-related-posts .td-post-vid-time {
  display: block;
}

.cc-related-posts .td-author-photo .avatar {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 50%;
}

.cc-related-posts .td-excerpt {
  display: none;
  column-count: 1;
  column-gap: 48px;
}

.cc-related-posts .td-audio-player {
  opacity: 1;
  visibility: visible;
  height: auto;
  font-size: 13px;
}

.cc-related-posts .td-read-more {
  display: none;
}

.cc-related-posts .td-post-author-name {
  display: none;
  font-weight: 400;
}

.cc-related-posts .td_module_wrap:nth-last-child(1) {
  margin-bottom: 0;
  padding-bottom: 0;
}

.cc-related-posts .td_module_wrap:nth-last-child(1) .td-module-container:before {
  display: none;
}

.cc-related-posts .td_module_wrap:hover .td-module-title a {
  color: #f1567a !important;
}

.cc-related-posts .td-post-date,
.cc-related-posts .td-post-author-name span {
  color: #000000;
}

.cc-related-posts .entry-title {
  margin: 0 0 6px 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 19px !important;
  font-weight: 600 !important;
}

.cc-related-posts .td-editor-date,
.cc-related-posts .td-module-comments a {
  font-family: 'Source Sans Pro', sans-serif !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
}

.td-post-date .entry-date {
  font-family: 'Cormorant Garamond', sans-serif;
  font-size: 14px;
  line-height: 17px;
  font-weight: bold;
}

.cc-related-posts .td_block_inner {
  display: flex;
  flex-wrap: wrap;
}

html:not([class*='ie']) .cc-related-posts .td-module-container:hover .entry-thumb:before {
  opacity: 0;
}

/* landscape */
@media (min-width: 1019px) and (max-width: 1140px) {
  .cc-related-posts .td_module_wrap {
    padding-bottom: 5px !important;
    margin-bottom: 5px !important;
  }

  .cc-related-posts .td-module-container:before {
    bottom: -5px;
  }

  .cc-related-posts .td_module_wrap:nth-last-child(1) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .cc-related-posts .td_module_wrap .td-module-container:before {
    display: block !important;
  }

  .cc-related-posts .td_module_wrap:nth-last-child(1) .td-module-container:before {
    display: none !important;
  }
}

/* portrait */
@media (min-width: 768px) and (max-width: 1018px) {
  .cc-related-posts .td_module_wrap {
    padding-bottom: 5px !important;
    margin-bottom: 5px !important;
  }

  .cc-related-posts .td-module-container:before {
    bottom: -5px;
  }

  .cc-related-posts .td_module_wrap:nth-last-child(1) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .cc-related-posts .td_module_wrap .td-module-container:before {
    display: block !important;
  }

  .cc-related-posts .td_module_wrap:nth-last-child(1) .td-module-container:before {
    display: none !important;
  }

  .cc-related-posts .entry-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 19px !important;
    font-weight: 600 !important;
  }
}

/* phone */
@media (max-width: 767px) {
  .cc-related-posts .td_module_wrap {
    padding-bottom: 5px !important;
    margin-bottom: 5px !important;
  }

  .cc-related-posts .td-module-container:before {
    bottom: -5px;
  }

  .cc-related-posts .td_module_wrap:nth-last-child(1) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .cc-related-posts .td_module_wrap .td-module-container:before {
    display: block !important;
  }

  .cc-related-posts .td_module_wrap:nth-last-child(1) .td-module-container:before {
    display: none !important;
  }
}
