.article-main article {
  padding-top: 12rem;
  position: relative;
}

.title-box {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
}

.author-box {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  line-height: 1.7rem;
}

.author-img {
  width: 3rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.author-text {
  font-size: 1.4rem;
  text-align: left;
}

.post-full-img {
  width: 100%;
  object-fit: cover;
  margin-bottom: 3rem;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-main .post-content {
  font-family: NTR, sans-serif;
} 

.article-main .post-content p {
  color: var(--dark-slate);
  line-height: 2.7rem;
  font-size: 2rem;
  margin-bottom: 1.5rem;
} 

.article-main .post-content span.text-highlight {
  font-weight: 600;
}

.article-main .post-content a.text-link {
  color: var(--cyan);
}

.article-main h1,
.article-main li:has(h1:first-child),
.article-main li h1:first-child span {
  font-size: 3.7rem;
  line-height: 4.3rem;
  margin-bottom: 2rem;
}

.article-main h2,
.article-main li:has(h2:first-child),
.article-main li h2:first-child span {
  font-size: 3rem;
  line-height: 3.6rem;
  margin-bottom: 1.5rem;
}

.article-main h3,
.article-main li:has(h3:first-child),
.article-main li h3:first-child span {
  font-size: 2.4rem;
  line-height: 3rem;
  margin-bottom: 1.2rem;
}

.article-main li:has(h1:first-child) p:first-of-type{
  margin-top: 2rem
}

.article-main li:has(h2:first-child) p:first-of-type{
  margin-top: 1.3rem
}

.article-main li:has(h3:first-child) p:first-of-type{
  margin-top: 1.1rem
}

.article-main li h2:first-child {
  display: inline;
}

.article-main .post-content ul,
.article-main .post-content ol {
  list-style-position: inside;
}

.article-title {
  color: var(--cyan);
  margin-bottom: 1.6rem;
}

@media (max-width: 768px) {
  .article-main article { 
    padding-top: 8rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .article-main .post-content   {
    line-height: 2.2rem;
    font-size: 2rem;
  }
  
  .article-main h1,
  .article-main li:has(h1:first-child),
  .article-main li h2:first-child span  {
    line-height: 3rem;
    font-size: 3rem;
  }

  .article-main h2,
  .article-main li:has(h2:first-child),
  .article-main li h2:first-child span  {
    line-height: 2.2rem;
    font-size: 2rem;
  }

  .article-main h3,
  .article-main li:has(h3:first-child),
  .article-main li h3:first-child span  {
    line-height: 2rem;
    font-size: 1.8rem;
  }

  .article-main li:has(h1:first-child) p:first-of-type{
    margin-top: 1.8rem
  }
  
  .article-main li:has(h2:first-child) p:first-of-type{
    margin-top: 1rem
  }
  
  .article-main li:has(h3:first-child) p:first-of-type{
    margin-top: 0.8rem
  }

  .article-main .post-content p {
    font-size: 1.6rem;
    line-height: 2.4rem;
  }

  .author-text {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }

  .post-full-img {
    border-radius: 6px;
    margin-bottom: 2rem;
  }

  .article-title {
    margin-bottom: 1.4rem;
  }
}