html {
  scroll-behavior: smooth !important;
}

#content {
  padding: 0 !important;
}

.wp-site-blocks {
  padding: 0 !important;
}

.wp-site-blocks > * {
  max-width: 100% !important;
}

#masthead {
  z-index: 10000 !important;
}

.menu-navigation > .menu > li > .arrow-icon .svg-icon {
  color: #000;
}

body,
html {
  padding: 0;
  margin: 0 !important;
  background: #fff;
  margin-top: 0px !important;
}

body p,
a,
li,
label,
span {
  font-size: 16px !important;
  line-height: 28px;
  font-weight: 300;
  font-family: "Lexend" !important;
}

a {
  text-decoration: none !important;
}

body h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lexend" !important;
  font-weight: 600;
  margin: 0.5em 0;
  color: #000;
  line-height: 1.5;
}

body img {
  object-fit: cover;
}

header {
  margin: 0 !important;
  border: none !important;
}

/* Single blog styles */

.single-blog-hero {
  position: relative;
}

.single-blog-hero img {
  width: 100%;
  height: 450px;
}

.single-blog-hero__content {
  height: 100%;
  bottom: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  max-height: 450px;
  padding: 3rem 5rem;
  display: flex;
  align-items: end;
  box-shadow: inset 0vw -10vw 10vw -2vw rgb(0 0 0 / 75%);
}

.single-blog-hero__content h1 {
  font-size: 2.5rem;
  color: white;
  line-height: 1.2;
  max-width: 1400px;
  margin: 0 auto;
}

.single-blog-content {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  max-width: 1400px;
  width: 100%;
  margin: auto;
  padding: 2rem 1rem;
  gap: 2rem;
  align-items: start;
}

.single-blog-content {
  h2,
  h3,
  h4,
  h5,
  h6 {
    scroll-margin-top: 100px;
    color: #69be94;
    line-height: 1.2;
    margin: 1.5rem 0 0.75rem;
  }
}

.excerpt-section {
  border-bottom: 1px solid black;
}

.additional-info {
  position: sticky;
  top: 0;
  align-self: start;
  padding: 15px;
  border-radius: 8px;
  z-index: 10;
}

.content-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-family: "Lexend" !important;
  gap: 1.5rem;
  padding: 1.5rem 0 0.5rem;
}

.content-info .title {
  color: #98989a;
  display: block;
}

.content-info .value {
  color: #69be94;
  font-weight: 500 !important;
}

.table-of-contents {
  padding: 2rem 0 0;
}

.table-of-contents ul {
  padding: 2rem;
  background-color: #69be941a;
  border-radius: 1rem;
  margin-top: 1rem;
}

.table-of-contents ul li {
  line-height: 1;
  margin-bottom: 1rem;
}

.table-of-contents ul a {
  color: #000;
  line-height: 1.2;
}

.right-section {
  height: 100%;
}

.share-icon {
  display: inline-block;
  font-size: 1.5rem;
  color: #69be94;
  background: #69be941a;
  padding: 0.25rem;
  border-radius: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
}

.social-share-section .icons-cont {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0 3rem;
  border-bottom: 1px solid black;
}

.related-articles {
  max-width: 1400px;
  margin: auto;
  width: 100%;
  padding: 1rem;
}

.related-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0 2rem;
}

.related-blog-card {
  background: white;
  padding: 1rem;
  border: 2px solid #e8e8ea;
  border-radius: 1rem;
}

.related-blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.related-blog-content {
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.related-blog-card .related-blog-content h3 > a {
  font-size: 20px !important;
  margin: 0;
  font-weight: 600 !important;
}

.related-blog-card .related-blog-content h3 {
  min-height: 3.5rem;
  line-height: 1;
}

.related-blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.related-blog-card .post-meta {
  color: #97989f;
  font-weight: 400;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.related-blog-card .post-meta span {
  margin: 0;
  margin-right: 1rem;
  white-space: nowrap;
}

.related-blog-card .post-meta .author-avatar {
  display: flex;
  white-space: nowrap;
  flex-shrink: 0;
}

.related-blog-card .post-meta .author-avatar img {
  border-radius: 100%;
  height: 2rem;
  width: auto;
}

.download-button {
  color: #ffffff;
  background: #69be94;
  padding: 0.5rem 3rem;
  font-weight: 600;
  border-radius: 0.25rem;
  margin: 0.75rem 0;
  display: block;
  width: fit-content;
}

.export-pdf-container {
  border-top: 1px solid black;
  padding-top: 1rem;
}

.export-pdf-container h3 {
  color: black !important;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 1280px) {
  .related-blog-card .post-meta {
    color: #97989f;
    font-weight: 400;
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 1023px) {
  .single-blog-content {
    display: flex;
    flex-direction: column-reverse;
  }

  .related-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .single-blog-hero__content h1 {
    font-size: 2rem;
    text-align: center;
  }

  .single-blog-hero__content {
    padding: 1rem;
    box-shadow: inset 0vw -20vw 20vw -2vw rgb(0 0 0);
  }

  .single-blog-content {
    padding: 0 1rem;
  }

  .additional-info {
    padding: 0;
  }

  .social-share-section .icons-cont {
    padding: 0.5rem 0 1rem;
  }

  .content-info {
    gap: 1rem;
  }

  .table-of-contents {
    padding: 1rem 0;
  }

  .single-blog-content {
    gap: 0;
  }

  .related-blog-card .post-meta .author-avatar img {
    width: 1.5rem;
    height: auto;
  }

  .related-blog-card .related-blog-content h3 {
    min-height: auto;
  }

  .related-blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .single-blog-hero img {
    width: 100%;
    height: 300px;
  }

  .single-blog-content {
    h2,
    h3,
    h4,
    h5,
    h6 {
      scroll-margin-top: 20px;
      color: #69be94;
    }
  }

  .table-of-contents ul {
    border-radius: 0.5rem;
  }

  .blog-content {
    padding: 0;
  }

  .related-blog-card {
    padding: 1rem 0.5rem;
  }

  .related-blog-card .post-meta .date {
    flex: 1;
    text-align: right;
  }
}

@media (max-width: 380px) {
  .related-blog-card .post-meta span {
    font-size: 0.9rem !important;
  }
}
