main {
  padding-top: 100px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
}

main p {
  margin-bottom: 8px;
}

main h2 {
  font-size: 24px;
  color: #0f172b;
  margin-top: 18px;
  font-weight: 700;
}

article {
  width: 100%;
  max-width: 892px;
  min-width: 0;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

.blogHeader h1 {
  font-size: 28px;
  color: #0f172b;
  font-weight: 700;
  margin-bottom: 16px;
}

.authorInfo {
  display: flex;
  align-items: start;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: space-between;
}

.authDiv {
  display: flex;
  gap: 8px;
}

.authorInfo img {
  height: 40px;
  width: 40px;
  border-radius: 100%;
  border: 1px solid #e4e4e7;
}

.authorNameDsg {
  display: flex;
  flex-direction: column;
  justify-content: start;
  line-height: 1.4;
  align-items: start;
}

.authorNameDsg a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #0f172b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.authorNameDsg a svg {
  height: 12px;
  width: 12px;
  color: #6a7282;
  transition: all 0.2s ease-out;
}

.authorNameDsg a svg:hover {
  color: #155dfc;
}

.authorNameDsg span {
  font-size: 12px;
  font-weight: 400;
  color: #6a7282;
}

.blogInfo {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e4e4e7;
  padding-bottom: 16px;
  margin-bottom: 16px;
  flex-direction: column;
  gap: 6px;
}

.tags {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.tags span,
.date time {
  font-size: 12px;
  color: #45556c;
}

.date time {
  display: flex;
  align-items: center;
  gap: 5px;
}

.date time svg {
  height: 12px;
  width: 12px;
}

.tags span {
  border: none;
  color: #0f172b;
  background: #e5e7eb;
  padding: 3px 5px;
  border-radius: 3px;
  font-size: 11px;
}

.tags span svg {
  height: 13px;
  width: 13px;
}

.blogFirstImg {
  border: 1px solid #e4e4e7;
  border-radius: 2px;
  max-height: 390px;
  width: 100%;
}

.quoteTxt {
  font-style: italic;
  color: #45556c;
  font-weight: 500;
  border-left: 4px solid #45556c;
  margin-top: 16px;
  background: #45556c0a;
  padding: 5px;
  border-radius: 2px;
}

.codeBlock {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 8px 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.codeHeader {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  background: #f5f5f5;
  border-bottom: 1px solid #e5e7eb;
}

.codeHeader span {
  font-family: monospace;
  font-size: 14px;
  font-weight: 600;
}

.codeScroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.codeScroll pre {
  display: block;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
  white-space: pre;
}

.codeScroll code {
  display: block;
  font-size: 14px;
  white-space: pre;
}

@media (max-width: 768px) {
  .codeHeader {
    height: 40px;
    padding: 0 12px;
  }

  .codeHeader span {
    font-size: 13px;
  }

  .codeScroll pre {
    padding: 16px 12px;
  }

  .codeScroll code {
    font-size: 13px;
  }

  .blogHeader h1 {
    font-size: 24px;
  }

  main h2 {
    font-size: 20px;
  }
}
