.blog-title-space {
  max-width: var(--content-space);
  margin: auto;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.blog-options {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-left: auto;
  align-items: center;
}

.blog-sort {
  position: relative;
  display: inline-block;
  border: none;
}

.blog-sort select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 40px 8px 14px;
  font: 16px/1 "SF medium";
  color: var(--hight-gray);
  background-color: var(--clean);
  border-radius: 25px;
  cursor: pointer;
  transition: 0.25s ease;
  border: 1px solid transparent;
  box-shadow: 0 0 8px var(--light-gray);
}

.blog-sort select:hover {
  border-color: var(--light-orange_light);
  box-shadow: 0 0 4px var(--light-orange_light);
}

.blog-sort select:focus {
  outline: none;
}

.blog-sort::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.blog-rss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--clean);
  border-radius: 25px;
  cursor: pointer;
  transition: 0.25s ease;
  border: 1px solid transparent;
  position: relative;
  box-shadow: 0 0 8px var(--light-gray);
}

.blog-rss:hover {
  border-color: var(--light-orange_light);
  box-shadow: 0 0 4px var(--light-orange_light);
}

.blog-rss::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: var(--hight-gray);
  mask-image: url("/blog/-/icons/rss.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("/blog/-/icons/rss.svg");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.blog-articles {
  max-width: var(--content-space);
  margin-left: auto; margin-right: auto;
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 25px;
  align-items: stretch;
}

.article-preview {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: 0 0 12px var(--light-gray);
  transition: 0.25s ease;
  text-decoration: none;
  height: 100%;
}

.article-preview:hover {
  box-shadow: 0 0 22px var(--light-gray);
  transform: scale(1.004);
}

.article-preview > .pic {
  border-radius: 12px 12px 0 0;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-image: url("/post/testpost/pic.avif");
  flex-shrink: 0;
}

.article-info {
  display: flex;
  flex-direction: column;
  background: var(--clean);
  border-radius: 0 0 12px 12px;
  flex: 1;
}

.article-preview > .article-info > .title {
  padding: 16px 22px;
  font: 24px/1.25 "SF bold";
  color: var(--hight-gray);
}

.article-preview > .article-info > .bottom {
  margin-top: auto;
  padding: 16px 22px;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.pub-date {
  color: var(--centered-gray);
  font: 14px/1 "SF regular";
}

.view-counter {
  color: var(--counter-view);
  font: 14px/1 "SF regular";
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.view-counter::before {
  content: "";
  width: 15px;
  height: 15px;
  background-color: var(--counter-view);
  mask-image: url("/blog/-/icons/view.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("/blog/-/icons/view.svg");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  margin-bottom: 2px;
}

.view-counter.viewed::before {
  mask-image: url("/blog/-/icons/view-fill.svg");
  -webkit-mask-image: url("/blog/-/icons/view-fill.svg");
}

.like-counter {
  color: var(--counter-like);
  font: 14px/1 "SF regular";
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.like-counter::before {
  content: "";
  width: 14px;
  height: 14px;
  background-color: var(--counter-like);
  mask-image: url("/blog/-/icons/like.svg");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("/blog/-/icons/like.svg");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  margin-bottom: 2px;
}

.like-counter.liked::before {
  mask-image: url("/blog/-/icons/like-fill.svg");
  -webkit-mask-image: url("/blog/-/icons/like-fill.svg");
}

.blog-pagination {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.blog-pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  background-color: var(--clean);
  border-radius: 25px;
  font: 15px/1 "SF medium";
  color: var(--hight-gray);
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s ease;
  border: 1px solid transparent;
  box-shadow: 0 0 8px var(--light-gray);
  font-family: "SF medium";
  margin-bottom: 25px;
}

body.hasHover .blog-pagination-button:hover {
  border-color: var(--light-orange_light);
  box-shadow: 0 0 4px var(--light-orange_light);
}

.blog-pagination-button:focus {
  outline: none;
}

.blog-empty,
.post-related-empty {
  font: 15px/1.5 "SF regular";
  color: var(--centered-gray);
  padding: 20px 0;
}

.post-related-all {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.post-title-space {
  max-width: var(--content-space);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.post-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-title {
  font: 32px/1.3 "SF bold";
  color: var(--hight-gray);
}

.post-counters {
  display: flex;
  gap: 15px;
}

.post-counters > .view-counter,
.post-counters > .like-counter {
  margin-left: 0 !important;
  transition: 0.1s linear;
}

body.hasHover .post-counters > .like-counter:not(.liked):hover {
  transform: translateY(-2px);
  cursor: pointer;
}

.post-pic > img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.post {
  max-width: var(--content-space);
  margin-left: auto; margin-right: auto;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.post-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.title {
  font: 24px/1.45 "SF medium";
  color: var(--hight-gray);
}

.text {
  font: 20px/1.45 "SF regular";
  color: var(--hight-gray);
}

.post-extras {
  width: calc(100% - 30px);
  height: fit-content;
  padding: 15px;
  background: var(--light-gray);
  border-radius: 8px;
}



.post-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  text-align: center;
  gap: 30px;
  padding: 35px;
  background: var(--clean);
  border-radius: 12px;
  box-shadow: 0 0 12px var(--light-gray);
}

.post-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-stat-number {
  font: 52px/1.05 "SF bold";
  letter-spacing: -1px;
  background: var(--orange-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--hight-orange);
}

.post-stat-label {
  font: 14px/1.45 "SF regular";
  color: var(--centered-gray);
}

.post-quote {
  padding: 6px 0 6px 10px;
  border-left: 3px solid var(--light-orange);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-quote-text {
  font: 24px/1.45 "SF medium";
  color: var(--hight-gray);
}

.post-quote-author {
  font: 13px/1.2 "SF medium";
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--centered-gray);
}

.post-table {
  width: 100%;
  border-collapse: collapse;
}

.post-table thead th {
  font: 13px/1.2 "SF medium";
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--centered-gray);
  text-align: left;
  padding: 0 16px 14px;
  border-bottom: 2px solid var(--light-gray);
}

.post-table tbody td {
  font: 17px/1.5 "SF regular";
  color: var(--hight-gray);
  padding: 16px;
  border-bottom: 1px solid var(--light-gray);
  vertical-align: top;
}

.post-table tbody tr:last-child td {
  border-bottom: none;
}

.post-table th:first-child,
.post-table td:first-child {
  padding-left: 0;
}

.post-table th:last-child,
.post-table td:last-child {
  padding-right: 0;
}

.post-checklist {
  display: flex;
  flex-direction: column;
}

.post-checklist-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--light-gray);
}

.post-checklist-item:first-child {
  padding-top: 4px;
}

.post-checklist-item:last-child {
  padding-bottom: 4px;
  border-bottom: none;
}

.post-checklist-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.post-checklist-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  background-color: #fff;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 7.2l3.2 3.2L11.5 4.4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 7.2l3.2 3.2L11.5 4.4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.post-checklist-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-checklist-title {
  font: 19px/1.35 "SF bold";
  color: var(--hight-gray);
}

.post-checklist-text {
  font: 17px/1.55 "SF regular";
  color: var(--hight-gray);
}

.post-cta {
  position: relative;
  padding: 55px 55px 55px 60px;
  background: var(--hight-plump);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.post-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--orange-gradient);
}

.post-cta-title {
  font: 30px/1.25 "SF bold";
  color: var(--clean);
  max-width: 720px;
}

.post-cta-text {
  font: 17px/1.55 "SF regular";
  color: var(--clean);
  opacity: 0.72;
  max-width: 620px;
}

.post-cta-button {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--orange-gradient);
  background-size: 220% 100%;
  background-position: 0% 50%;
  border-radius: 30px;
  font: 16px/1 "SF medium";
  color: #ffffff;
  text-decoration: none;
  transition: background-position 0.4s ease, transform 0.2s ease;
}

.post-cta-button::after {
  content: "→";
  font: 18px/1 "SF regular";
  transition: transform 0.25s ease;
}

body.hasHover .post-cta-button:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
}

body.hasHover .post-cta-button:hover::after {
  transform: translateX(4px);
}

.post-related-heading {
  font: 12px/1 "SF medium";
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--centered-gray);
  margin-bottom: 20px;
}

.post-related-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--medium-gray);
  text-decoration: none;
  align-items: stretch;
}

.post-related-item:first-of-type {
  padding-top: 0;
}

.post-related-item:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

.post-related-thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.post-related-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.post-related-title {
  font: 15px/1.35 "SF medium";
  color: var(--hight-gray);
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-related-date {
  font: 12px/1 "SF regular";
  color: var(--centered-gray);
  margin-top: auto;
}

body.hasHover .post-related-item:hover .post-related-title {
  color: var(--hight-orange);
}

.post-engagement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
  padding: 26px 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-share-label {
  font: 12px/1 "SF medium";
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--centered-gray);
  margin-right: 6px;
}

.post-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--clean);
  border: 1px solid transparent;
  border-radius: 25px;
  box-shadow: 0 0 8px var(--light-gray);
  cursor: pointer;
  text-decoration: none;
  transition: 0.25s ease;
}

.post-share-button::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: var(--hight-gray);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  transition: background-color 0.25s ease;
}

body.hasHover .post-share-button:hover {
  /* border-color: var(--light-orange_light); */
  box-shadow: 0 0 4px var(--light-orange_light);
}

body.hasHover .post-share-button:hover::before {
  /* background-color: var(--hight-orange); */
}

.post-share-x::before {
  width: 16px;
  height: 16px;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

.post-share-linkedin::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z'/%3E%3C/svg%3E");
}

.post-share-reddit::before {
  mask-image: url("/blog/-/icons/reddit.svg");
  -webkit-mask-image: url("/blog/-/icons/reddit.svg");
}

.post-share-facebook::before {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

.post-share-threads::before {
  mask-image: url("/blog/-/icons/threads.svg");
  -webkit-mask-image: url("/blog/-/icons/threads.svg");
}
