/**** BLOG STYLES ****/
.blog-entry-content {
  text-align: left;
}
.blog-entry-content p {
  font-size: 18px;
  line-height: 140%;
  color: #615a67;
}

.blog-entry-content h2 {
  margin-top: 24px;
  margin-bottom: 20px;
}

.blog-entry-content h3 {
  margin-top: 24px;
  margin-bottom: 20px;
}

.blog-entry-content h2,
.blog-entry-content h3 {
  font-weight: 700;
}

.blog-entry-content ul,
.blog-entry-content ol {
  font-size: 18px;
  line-height: 28px;
  color: #615a67;
}

.blog-entry-content ul,
.blog-entry-content ul li {
  list-style: disc;
  font-style: normal;
}
.blog-entry-content ul ul {
  margin-bottom: 1em;
}
.blog-entry-content ul ul li {
  list-style: circle;
}

.blog-content a,
.elementor-accordion a {
  font-weight: 600;
}

.blog-entry-content img {
  /*width: 100%;*/
  border-radius: 8px;
  height: auto;
}

/* sidebar */

/* @media screen and (max-width: 1300px) {
	.sidebar-post-3 {
		display: none !important;
	}
}

@media screen and (max-width: 1600px) {
	.sidebar-post-4 {
		display: none !important;
	}
}

.blog-categories ul {
	padding-left: 0;
}

li.excerpt {
	margin-bottom: 15px;
} */

/* end sidebar */

/*blog redoing*/

.blog-content__title {
  font-weight: 700;
  font-size: 64px;
  line-height: 72px;
  color: #2e2a31;
}

#searchform .search_field {
  border-color: #948c9b;
  padding: 14px 0;
  background: url(/wp-content/uploads/2023/03/search-loop.svg) no-repeat 17px center;
  width: 100%;
}

#searchform #searchsubmit {
  background: #2bcb95;
  padding: 12px 16px;
}

#searchform .search_field,
#searchform #searchsubmit {
  height: 48px;
}

.blog-entry-category {
  color: #2e2a31;
  padding: 8px 32px;
  background: #ffffff;
  border-radius: 40px;
}

.blog-entry-post {
  padding: 0 25px;
}

.blog-entry-post > .row {
  padding-top: 5px;
  padding-bottom: 15px;
}

.blog-sorting {
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
  color: #2e2a31;
}

.blog-grid {
  display: grid;
  gap: 48px 48px;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
}

.blog-entry-date {
  font-size: 14px;
  line-height: 22px;
  color: #948c9b;
}

.blog-entry-category__wrapper {
  gap: 12px 16px;
}

.blog-entry-category {
  display: inline-block;
  font-weight: 600;
  font-size: 18px;
  line-height: 18px;
}

.blog-content__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  color: #2e2a31;
}

.blog-entry-image {
  background: #e2e2e2;
  width: 100%;
  overflow: hidden;
  /*min-height: 400px;*/
}

.blog-entry-image .wp-post-image img {
  min-height: 420px;
  vertical-align: middle;
  object-fit: cover;
}

.blog-entry-header {
  font-weight: 700;
  color: #47424c;
  font-size: 24px;
  line-height: 32px;
}

.blog-entry-header:hover {
  color: #856996;
  text-decoration: none;
}

.blog-entry-text {
  font-size: 18px;
  line-height: 28px;
  color: #615a67;
  /*hides all after the second line*/
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  display: box;
  word-wrap: break-word;
  -webkit-box-orient: vertical;
  box-orient: vertical;
}

.newsletter__wrapper {
  background: #f4f4f5;
  padding: 64px 0 72px 0;
}

.newsletter__title {
  color: #2e2a31;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
}

.newsletter__subtitle {
  color: #615a67;
  font-weight: 450;
  font-size: 24px;
  line-height: 36px;
}
.modal-close-btn {
  cursor: pointer;
}
.newsletter__popup-btn,
#mc-embedded-subscribe.newsletter__popup-btn {
  background: #71479b;
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  padding: 12px;
  width: 100%;
}

#newsletterModal .modal-content {
  background: #f4f4f5;
}
#newsletterModal .checkbox-confirm-group {
  color: #615a67;
  font-size: 16px;
  line-height: 24px;
}
#newsletterModal #checkbox-field {
  width: 28px;
  height: 28px;
  flex: none;
}
#newsletterModal .h2 {
  font-size: 28px;
  line-height: 36px;
}
#newsletterModal .mce_inline_error {
  background: transparent;
}
#newsletterModal #mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error {
  color: #ff0b0b;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-align: left;
  padding: 2px 0.75rem;
  background: transparent;
}

#mc_embed_signup .input-wrapper {
  font-size: 16px;
  color: #ada7b3;
}

/*--------*/

.blog-wrapper {
  display: inline-flex;
  flex-wrap: wrap;
}

.static-sidebar-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.subscribe-sidebar {
  position: sticky;
  top: 150px;
  margin-top: 20px;
  background: #fff;
  padding: 20px;
}

.paco-newsletter {
  width: 100%;
  height: auto;
}

/*single post page*/
.single-post__thumbnail img {
  max-height: 360px;
  object-fit: cover;
  border-radius: 0.5rem !important;
}

.blog-header-text {
  font-size: 40px;
  line-height: 48px;
}

.blog-container {
  max-width: 792px;
}

.article-author {
  color: #615a67;
  font-size: 24px;
  line-height: 36px;
}
.article-author a {
  color: #71479b;
}

.share-buttons__wrapper {
  font-size: 36px;
  line-height: 44px;
  row-gap: 12px;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

.share-buttons__text {
  font-size: 28px;
  line-height: 36px;
}

.share-buttons {
  gap: 12px;
}
.share-buttons button {
  padding: 0;
  border: 0;
  background: #71479b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.share-buttons button svg {
  display: inline-flex;
  width: 40px;
  height: 40px;
  color: #fff;
  padding: 10px;
}

.related-posts__title {
  font-size: 36px;
  line-height: 44px;
}

.relatedthumb__img {
  min-height: 420px;
}

.relatedthumb__title {
  color: #47424c;
  font-size: 24px;
  line-height: 32px;
}

.tips-block img {
  width: 32px;
}

.longread-banner {
  background: url("/wp-content/uploads/2023/03/banner-right-mob-bg-min.png") no-repeat right bottom/contain;
}

.longread-banner .wp-element-button {
  padding: 12px 16px;
  font-size: 16px;
  line-height: 16px;
  font-weight: 700;
}
.longread-banner .wp-block-column:last-child {
  flex-basis: 100% !important;
}
/* fix for blog image caption being wider than container */
.wp-caption,
.blog-wrapper {
  max-width: 100%;
}
@media (min-width: 768px) {
  .blog-grid {
    gap: 64px 24px;
    grid-template-columns: 1fr 1fr;
  }

  .blog-header-text {
    font-size: 64px;
    line-height: 72px;
  }

  .category-block {
    margin: 0;
  }

  .blog-entry-image .wp-post-image img {
    min-height: 370px;
    height: 100%;
  }

  .blog-entry-post:first-child .blog-entry-image {
    height: 433px;
  }

  .relatedthumb__img {
    min-height: 370px;
  }

  .blog-entry-date {
    font-size: 16px;
    line-height: 24px;
  }
  .blog-entry-post:first-child .blog-entry-header {
    font-size: 36px;
    line-height: 44px;
  }
  .blog-entry-post:first-child {
    /* grid-area: first; */
    grid-column-start: 1;
    grid-column-end: 3;
  }

  #searchform .search_field {
    width: 368px;
  }

  .blog-sorting {
    font-size: 36px;
    line-height: 44px;
  }

  .blog-content__title {
    font-size: 64px;
    line-height: 72px;
  }

  .blog-entry-text {
    -ms-line-clamp: 3;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  .newsletter__wrapper {
    padding: 80px 0 100px 0;
  }
  .newsletter__title {
    font-size: 64px;
    line-height: 72px;
  }
  .newsletter__popup-btn,
  #mc-embedded-subscribe.newsletter__popup-btn {
    width: auto;
  }
  #newsletterModal .h2 {
    font-size: 28px;
    line-height: 36px;
    font-size: 36px;
    line-height: 44px;
  }

  #newsletterModal .checkbox-confirm-group {
    font-size: 18px;
    line-height: 28px;
  }
  .paco-newsletter {
    width: 392px;
  }

  .tips-block img {
    width: 44px;
  }

  .blog-entry-content .wp-block-image > img {
    width: auto;
  }

  .longread-banner {
    background: url("/wp-content/uploads/2023/02/banner-left-bg-min.png") no-repeat left bottom/contain,
      url("/wp-content/uploads/2023/02/banner-right-bg-min.png") no-repeat right bottom/40%;
  }

  .longread-banner .wp-element-button {
    padding: 16px 24px;
  }

  .squares-right-bottom-bg {
    background: url("/wp-content/uploads/2023/02/purple-squares-right.svg") no-repeat 300px bottom/300px;
  }

  .share-buttons__text {
    font-size: 36px;
    line-height: 44px;
  }
  #mc_embed_signup_scroll .input-wrap{
    width: calc(100% - 25px);
  }
}

@media (min-width: 992px) {
  .blog-grid {
    /* grid-template-columns: repeat(3, 1fr);  */
    gap: 160px 48px;
    /* grid-template-areas:
        "first first ."
        ". . ."
        ". last last"; */
    grid-template-columns: 1fr 1fr 1fr;
  }
  .blog-entry-post:nth-child(n + 3) .blog-entry-text {
    display: none;
  }
  .blog-entry-post:nth-child(7) {
    /* grid-area: last; */
    grid-column-start: -1;
    grid-column-end: -3;
  }
  .blog-entry-post:nth-child(2) {
    margin-top: 93px;
  }

  .blog-entry-image .wp-post-image img {
    min-height: 400px;
    border-radius: 0.5rem !important;
  }

  .blog-entry-post:first-child .blog-entry-image img,
  .blog-entry-post:last-child .blog-entry-image img,
  .blog-entry-post:first-child .blog-entry-image,
  .blog-entry-post:last-child .blog-entry-image {
    height: 493px;
  }

  .relatedthumb__img {
    min-height: 400px;
  }

  .blog-entry-text {
    -ms-line-clamp: 2;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .blog-entry-post:nth-child(7) .blog-entry-header {
    font-size: 36px;
    line-height: 44px;
  }
  .blog-entry-post:nth-child(7) .blog-entry-image {
    height: 493px;
  }
  .newsletter__wrapper {
    padding: 120px 0;
  }
}

@media (max-width: 991px) {
  .blog-entry-post:nth-child(n + 2) .blog-entry-text {
    display: none;
  }
  #newsletterModal .modal-dialog {
    max-width: 90%;
  }
}
@media (max-width: 767px) {
  .blog-entry-post .blog-entry-text {
    display: none;
  }
  .longread-banner {
    padding-bottom: 113px !important;
  }
}

.wp-block-image picture {
  display: inline-block;
  max-width: 100%;
  height: auto !important;
}


/* Author page */
.author-description-bottom .col-md-7{
  border-bottom: 1px solid #E0DEE2;
  padding-bottom: 95px;
}
.author-description-top {
  background: #71479B;
  color: #fff;
  padding: 130px 0 30px 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
}
.author-description-top h1{
  font-size: 64px;
  line-height: 72px;
  font-weight: 700;
  margin: 0;
}
.author-image{
  height: 0;
}
.author-image img{
  border-radius: 8px;
}
.author-description-highlighted{
  font-size: 24px;
  line-height: 32px;
  color: #615A67;
  margin: 50px 14% 47px 0
}
.author-description-unhighlighted{
  font-size: 18px;
  line-height: 28px;
  color: #615A67;
  margin: 0 14% 38px 0;
}
.author-description-unhighlighted p{
  margin-bottom: 28px;
}
.author-description-quote{
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  color: #3E2755;
  padding: 16px 32px;
  border-radius: 8px;
  position: relative;
  background: #F6F2F9;
}
.author-description-quote::before, .author-description-quote::after{
  content: '';
  display: block;
  width: 53px;
  height: 34px;
  background: url('/wp-content/themes/NRS18-theme/img/quote-purple.svg') no-repeat right 0;
  position: absolute;
  bottom: -15px;
  left: -35px;
}
.author-description-quote::after{
  bottom: auto;
  left: auto;
  right: -30px;
  top: -10px;
}
.author.archive .container{
  max-width: 1224px;
}
.author.archive .related-posts__title a{
  font-size: 16px;
  padding-right: 15px;
  background: url('/wp-content/uploads/2023/06/link-arrow-right-2.svg') no-repeat right center;
  background-size: 10px 10px;
  margin-left: 16px;
  top: -6px;
  position: relative;
}
@media (max-width:991px){
  .author-description-top{
    padding-top: 90px;
    padding-bottom: 26px;
  }
  .author-description-top h1{
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 7px;
  }
  .author-image{
    margin-right: -11px;
    margin-left: 20px;
  }
  .author-description-top .col-md-9,
  .author-description-bottom .col-md-7{
    padding-left: 23px;
  }
  .author-description-bottom .col-md-7{
    width: 74%;
    border: none;
    padding-bottom: 0;
  }
  .author-description-highlighted{
    margin: 24px 0;
  }
  .author-description-unhighlighted{
    margin-right: 0;
  }
  .author-description-quote{
    display: none;
  }
}
@media (max-width:767px){
  .author-description-top{
    text-align: center;
    font-size: 16px;
    line-height: 20px;
    padding-top: 25px;
  }
  .author-image{
    height: auto;
    margin: 0 auto;
    max-width: 28%;
  }
  .author-description-top h1{
    font-size: 32px;
    line-height: 36px;
  }
  .author-description-bottom .col-md-7{
    width: 100%;
  }
  .author-description-top .col-md-9, .author-description-bottom .col-md-7{
    padding-left: calc(var(--bs-gutter-x) * .5);
  }
  .author-description-quote{
    display: block;
    padding: 20px 16px;
  }
  .author.archive .related-posts__title a{
    display: inline-block;
    margin: 0;
  }
  .author-description-quote::before, .author-description-quote::after{
    width: 40px;
    height: 26px;
    background-size: cover;
  }
  .author-description-quote::after{
    right: 0;
  }
  .author-description-quote::before{
    left: 0;
  }
}