.section-blog-header {
  background-color: rgb(0 102 245);
  color: white;
  overflow: hidden;
}
.dark .section-blog-header {
  background-color: rgb(25 140 255);
}

.section-blog-header .content-container {
  max-width: 1216px;
  margin: 0 auto;
  display: flex;
}

.section-blog-header .content-container .blog-page-title-group {
  margin-top: 2.5rem;
  padding-bottom: 11rem;
  width: 60%;
}
.section-blog-header .content-container .blog-page-title-group-dec {
  width: 40%;
  position: relative;
}
.section-blog-header .content-container .blog-page-title-group-dec svg {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
}
.blog-page-title {
  font-size: 72px;
  font-weight: 700;
  line-height: 72px;
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 15px;
}

.blog-page-description {
  font-size: 24px;
  line-height: 30px;
  font-family: "Space Grotesk", sans-serif;
}

.blog-post-container {
  max-width: 1216px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 4rem;
}
.category .blog-post-container,
.author .blog-post-container {
  margin-bottom: 60px;
}

h3.entry-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}

.blog-posts img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

section.blog-posts {
  margin-top: -9rem;
  position: relative;
  overflow: hidden;
}
.category section.blog-posts{
  margin-top: 5rem;
}

.post {
  grid-column: span 4 / span 4;
}

.blog-posts .latest,
.blog-posts .highlight {
  grid-column: span 12 / span 12;
}

.blog-post-container .highlight {
  max-width: none;
  position: relative;
}

.blog-post-container .highlight::before {
  content: "";
  position: absolute;
  width: 100vw;
  height: 100%;
  left: 0;
  z-index: -10;
  background-image: radial-gradient(
    circle,
    hsla(240, 5%, 96%, 0.8) 4px,
    hsla(0, 0%, 100%, 0) 0
  );
  background-size: 32px 32px;
  left: calc((-100vw + 100%) / 2);
}
.dark .blog-post-container .highlight::before {
  background-image: radial-gradient(
    circle,
    hsla(240, 5%, 96%, 0.04) 4px,
    hsla(0, 0%, 100%, 0) 0
  );
}

.blog-post-container .highlight .post-content {
  margin: 47px 0;
}

.latest .post-content,
.highlight .post-content {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: #f4f4f5;
}
.dark .latest .post-content,
.dark .highlight .post-content {
  background-color: rgb(59 59 68);
}
.latest .post-content {
  padding: 10px 10px 10px 42px;
}
.latest .post-content .blog-post-img-link {
  line-height: 0;
}

.highlight .post-content {
  padding: 10px 42px 10px 10px;
}

.latest .post-content {
  flex-direction: row-reverse;
}

.latest h3,
.highlight h3 {
  font-size: 30px;
  line-height: 38px;
  margin-bottom: 10px;
}

.entry-summary {
  margin-top: 10px;
}

.post-author {
  font-weight: 600;
}

.pagination {
  max-width: 1216px;
  margin: 50px auto;
  border-top: 1px dashed rgb(201 201 207);
  padding-top: 2.5rem;
}

ul.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  font-weight: 600;
  font-size: 16px;
}

span.page-numbers.current {
  content: "";
  width: 33px;
  height: 33px;
  color: #0066f5;
  border: 2px solid #0066f5;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-head-categories {
  display: flex;
  gap: 0 20px;
  flex-flow: wrap;
  margin: 20px 0 0;
}
.blog-head-categories li.current-cat,
.page-template-blog .blog-head-categories li.base {
  font-weight: 700;
}
.blog-head-categories li a {
  color: #fff;
  font-size: 18px;
}
.blog-head-categories li a:hover{
  color:black;
}

@media (max-width: 1535px) {
  .blog-page-title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1;
    max-width: 503px;
  }
  .blog-page-description {
    font-size: 18px;
    line-height: 1.25;
    max-width: 503px;
  }
} /*1535*/
@media (max-width: 1279px) {
  .section-blog-header .content-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
  .blog-post-container {
    padding-inline: 2.5rem;
  }

  h3.entry-title {
    font-size: 18px;
    line-height: 1.25;
  }

  .latest h3.entry-title,
  .highlight h3.entry-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .entry-summary {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1;
  }
} /*1279*/

@media screen and (max-width: 1023px) {
  .blog-post-container {
    padding-inline: 1.75rem;
  }

  .blog-page-title {
    font-size: 48px;
  }

  .blog-page-description {
    font-size: 16px;
    line-height: 1.25;
  }

  .post {
    grid-column: span 6 / span 6;
  }

  h3.entry-title {
    font-size: 18px;
    line-height: 20px;
    margin-top: 20px;
  }

  .latest h3.entry-title,
  .highlight h3.entry-title {
    font-size: 18px;
    line-height: 1.25;
  }

  .post-caption {
    font-size: 14px;
    line-height: 1.5;
  }
}

@media screen and (max-width: 767px) {
  .section-blog-header .content-container .blog-page-title-group {
    width: 100%;
    padding: 0;
  }
  .section-blog-header .content-container .blog-page-title-group-dec {
    display: none;
  }
  .section-blog-header .content-container {
    padding: 0;
  }
  .section-blog-header {
    padding-bottom: 20rem;
    padding-inline: 1rem;
  }
  .category .section-blog-header{
    padding-bottom: 3rem;
  }

  .section-blog-header svg {
    display: none;
  }

  .blog-page-title {
    font-size: 40px;
    line-height: 1;
    max-width: fit-content;
  }

  section.blog-posts {
    margin-top: -18rem;
  }

  .blog-post-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-inline: 1rem;
  }

  .blog-posts .latest,
  .blog-posts .highlight {
    grid-column: span 6 / span 6;
  }

  .latest .post-content,
  .highlight .post-content {
    flex-direction: column;
    padding: 10px 10px 32px 10px;
    gap: 17px;
  }

  .latest h3.entry-title,
  .highlight h3.entry-title {
    margin-top: 0;
  }

  .entry-header {
    padding-inline: 24px;
  }

  .blog-post-container {
    row-gap: 31px;
  }

  .blog-post-container .highlight::before {
    background-image: none;
  }

  .blog-post-container .highlight .post-content {
    margin: 0;
  }
  .blog-head-categories li a{
    font-size: 14px;
  }
  .blog-head-categories{
    gap: 10px 20px;
  }
} /*767*/

/* Author Page Styles */
.author .section-blog-header {
  padding: 0 2.5rem!important;

  @media(max-width: 767px) {
    padding: 0 1rem!important;
  }
}
.author .blog-page-description a {
  color: #fff;
}
.author .blog-page-description a:hover,
.author .blog-page-description a:focus {
  color: #fff;
  text-decoration: underline;
}
.author .author-socials {
  gap: 10px;
  display: flex;
  flex-wrap: wrap;

  margin-top: 10px;
}
.author .author-socials a {
  display: flex;
  max-width: 28px;

  color: #fff;

  transition: transform ease .3s;
}
.author .author-socials a:hover,
.author .author-socials a:focus {
  transform: scale(1.1);
}
.author .author-socials a svg {
  display: flex;

  width: auto;
  height: auto;
  max-width: 100%;

  fill: currentColor;
  stroke: currentColor;
}

.author .section-blog-header .content-container {
  padding: 1.5rem 0;

  gap: 1.5rem;
  flex-direction: column;
}
.author .section-blog-header .content-container .blog-page-title-group {
  margin: 0;
  padding: 0;
  width: 100%;
}
.author .section-blog-header .content-container .blog-page-title-group-dec {
  width: 100%;
  display: block;
}

@media(max-width: 767px) {
  /*.author .section-blog-header .content-container {*/
  /*  flex-direction: column;*/
  /*}*/
  /*.author .section-blog-header .content-container .blog-page-title-group-dec {*/
  /*  width: 100%;*/
  /*  display: block;*/
  /*  padding-bottom: 0;*/
  /*}*/
}
.author .blog-posts {
  margin-top: 2rem;
}
.author .blog-post-container--nav-container {
  grid-template-columns: 1fr;
}
.author .blog-post-container--nav-container .nav-links {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
