.startBoard__girl {
  position: relative;
  z-index: 1;
  width: 126px;
  height: 126px;
  margin-left: 40px;
  margin-bottom: -16px;
}

/* Стили для миниатюры поста */
.entry-thumbnail {
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 40px;
  height: auto;
}

.startBoard__desc {
  position: relative;
  z-index: 2;
  padding: 40px clamp(1.25rem, 0.625rem + 2.5vw, 2.5rem);
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(41, 42, 67, 0.1);
  background: #7968f8;
}

.startBoard__tag {
  width: fit-content;
  padding: 4px 16px;

  border-radius: 48px;
  background: linear-gradient(273.5deg, #fe5762 5.76%, #ff6ba1 149.99%);

  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.12px;
  color: #fff;
}

.startBoard,
article.post {
  padding-top: 60px;
}

.startBoard__title {
  font-size: 16px;
  line-height: 150%;
  color: #fff;

  margin-bottom: 8px;
  margin-top: 13px;
}

.startBoard__description {
  line-height: 150%;
  color: #fff;
}

.startBoard__btns {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 16px 24px;
}

.tools p {
  margin-top: 16px;
  text-align: center;
}

@media only screen and (max-width: 1023px) {
  .tools {
    padding-top: 120px;
  }
}

@media only screen and (max-width: 767px) {
  .tools {
    padding-top: 100px;
  }
}

.toolsBoard__wrapper {
  display: flex;
}

@media only screen and (max-width: 1199px) {
  .toolsBoard__wrapper {
    flex-direction: column;
  }
}

.toolsBoard__img {
  display: flex;
  align-items: flex-start;
  margin-left: 40px;

  > * + * {
    margin-left: 20px;
  }

  img {
    width: 160px;
    height: auto;
  }
}

@media only screen and (max-width: 1199px) {
  .toolsBoard__img {
    margin-left: 0;
    margin-top: 40px;

    img {
      flex: 1;
    }
  }
}

@media only screen and (max-width: 767px) {
  .toolsBoard__img {
    flex-direction: column;

    > * + * {
      margin-left: 0;
      margin-top: 20px;
    }

    img {
      width: 100%;
    }
  }

  .startBoard,
  article.post {
    padding-top: 40px;
  }
}

.toolsChips--board {
  margin-top: 40px;
  margin-left: 0;
  gap: clamp(0.75rem, 0.568rem + 0.91vw, 1.25rem);
}

.toolsChips--board .toolsChips__item {
  margin: 0;
}

@media only screen and (max-width: 1169px) {
  .toolsChips {
    justify-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    height: auto;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    margin-top: 24px;
    overflow-x: unset;
  }
}

.toolsChips__item.active {
  padding-left: 64px;
  padding-right: 64px;

  &:hover {
    color: #fff;
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
  }
}

@media only screen and (max-width: 1169px) {
  .toolsChips__item {
    margin-top: 16px;
  }
}

@media only screen and (max-width: 767px) {
  .toolsChips__item {
    width: 100%;
    margin-left: 8px;
    justify-content: center;
  }
}

.tools__title {
  position: relative;
  width: fit-content;
  margin: 0 auto;

  img {
    position: absolute;
    right: -45px;
    top: -65px;
    transform: rotate(34.5deg);

    width: 71px;
    height: 64px;
  }
}

@media only screen and (max-width: 767px) {
  .tools__title {
    img {
      width: 30px;
      height: 30px;
      top: -27px;
      right: -7px;
    }
  }
}

@media only screen and (max-width: 767px) {
  .tools__title {
    width: 200px;
  }
}

@media only screen and (max-width: 769px) {
  .startBoard__btns {
    flex-direction: column;
    align-items: flex-start;
  }

  .startBoard__btns .btn {
    width: 301px;
    max-width: 100%;
    white-space: nowrap;
  }
}

.blog {
  margin-top: clamp(5rem, 3.75rem + 5vw, 7.5rem);
}

.blog__posts {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog__post {
  box-shadow: 0 4px 20px 0 rgba(41, 42, 67, 0.1);
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);

  display: flex;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.blog__post:nth-child(even) {
  flex-direction: row-reverse;
}

.blog__post-content {
  flex-basis: 520px;
}

.blog__post-image {
  flex-basis: 540px;
}

.blog__post-tag {
  border-radius: 48px;
  padding: 4px 16px;

  font-family: var(--second-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
  display: inline-block;
}

.blog__post:nth-child(odd) .blog__post-tag {
  background: #9d3cdf;
}

.blog__post:nth-child(even) .blog__post-tag {
  background: #089c70;
}

.blog__post-title {
  font-size: clamp(1rem, 0.458rem + 2.17vw, 1.5rem);
  line-height: 133%;
  color: #292a43;
  margin: 24px 0;
}

.blog__post-excerpt {
  font-family: var(--second-family);
  font-size: clamp(1rem, 0.864rem + 0.54vw, 1.125rem);
  line-height: 156%;
  color: #292a43;
}

.blog__post-image a {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog__post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}

.post-thumbnail {
  margin-bottom: 40px;
}

.entry-header h1.entry-title {
  font-size: clamp(2rem, 1.875rem + 0.5vw, 2.25rem);
  line-height: 144%;
  letter-spacing: -0.01em;
  color: #292a43;

  margin-bottom: 24px;
}

.entry-content h2,
.entry-content h3 {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 133%;
  text-align: left;
  color: #292a43;
  margin: 24px 0 12px;
}

.entry-content p {
  font-size: 16px;
  line-height: 150%;
  color: #292a43;
  margin: 12px 0;
}

.entry-content ul,
.entry-content ol {
  padding-left: 26px;
  margin: 12px 0;
}

.entry-content a {
  color: oklch(62.3% 0.214 259.815);
  text-decoration-line: underline;
  text-decoration-color: color-mix(
    in oklab,
    rgb(87, 110, 152) 40%,
    transparent
  );
  text-underline-offset: 2px;
  transition: all 0.25s ease;
}

.wp-block-quote {
  margin: 0;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 12px 24px;
  padding-right: 0;
  color: rgb(106, 110, 119);
  border-left: 2px solid rgb(213, 217, 224);
}

.wp-block-quote * {
  color: rgb(106, 110, 119) !important;
}

.wp-block-quote > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.wp-block-table {
  border-radius: 20px;
  padding: clamp(1.875rem, 0.76rem + 2.32vw, 2.5rem);
  background: #f4f9ff;

  margin: 24px 0;
}

.wp-block-table table {
  border-collapse: collapse;
}

.wp-block-table table tr:first-child td {
  font-weight: 600;
  white-space: nowrap;
}

.wp-block-table td,
.wp-block-table th {
  border: 0;
  font-family: var(--font-family);
  font-weight: 400;
  text-align: center;
}

.wp-block-table table tr:not(:last-child) {
  border-bottom: 12px solid #f4f9ff;
}

.wp-block-table table tr:first-child {
  border-bottom: clamp(0.75rem, 0.625rem + 0.5vw, 1rem) solid #f4f9ff;
}

.wp-block-table table tr td:first-child {
  text-align: left;
  width: 190px;
  padding-right: clamp(1.813rem, -0.529rem + 4.87vw, 3.125rem);
  box-sizing: content-box;
}

.wp-block-table table tr td:not(:first-child) {
  width: 130px;
}

.wp-block-table table tr:not(:first-child) td:not(:first-child) {
  padding: 20px;
  /*box-shadow: 0 2px 2px 1px rgba(146, 156, 196, 0.24), 0 0 6px 0 rgba(146, 156, 196, 0.02);*/
  background: #fff;
}

.wp-block-table table tr:not(:first-child) td:last-child {
  border-radius: 0 12px 12px 0;
  /*box-shadow: 0 2px 2px 1px rgba(146, 156, 196, 0.24), 0 0 6px 0 rgba(146, 156, 196, 0.02);*/
}

.wp-block-table table tr:not(:first-child) td:nth-child(2) {
  border-radius: 12px 0 0 12px;
  /*box-shadow: 0 2px 2px 1px rgba(146, 156, 196, 0.24), 0 0 6px 0 rgba(146, 156, 196, 0.02);*/
}

.wp-block-table table tr:not(:first-child) td:not(:first-child) {
  /*box-shadow: 0 2px 2px 1px rgba(146, 156, 196, 0.24), 0 0 6px 0 rgba(146, 156, 196, 0.02);*/
}

.blog__pagination {
  margin-top: 40px;
}

.pagination {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  font-size: 18px;
}

.page-numbers:not(.next, .prev) {
  padding: 8px 8px;
  color: #292a43;
  opacity: 0.5;
}

.page-numbers.current {
  opacity: 1;
  /*background: #9d3cdf;*/
}

.page-numbers:hover {
  opacity: 1;
}

@media screen and (max-width: 769px) {
  .blog__post,
  .blog__post:nth-child(even) {
    flex-direction: column;
  }

  .blog__post-content,
  .blog__post-image {
    flex-basis: auto;
  }
}
