/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Gill Sans', 'Trebuchet MS', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #2d3748;
  background-color: #f8f8f8;
  padding: 20px;
}

/* Article container */
article {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Article header */
.article-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid #f8f8f8;
}

.article-header h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-meta {
  font-size: 0.9rem;
  color: #4a5568;
  opacity: 0.8;
}

.article-meta time {
  font-weight: 500;
}

/* Article content sections */
.article-content {
  margin-bottom: 36px;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 20px;
  margin-top: 36px;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 16px;
  margin-top: 28px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content a {
  color: #fc8181;
  text-decoration: none;
  border-bottom: 1px solid #fc8181;
  transition: all 0.2s ease;
}

.article-content a:hover {
  color: #4a5568;
  border-bottom-color: #4a5568;
}

/* Author box */
.author-box {
  margin-top: 48px;
  margin-bottom: 32px;
  padding: 32px;
  background-color: #f8f8f8;
  border-radius: 16px;
  border-left: 4px solid #fc8181;
}

.author-box h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 20px;
}

.author-content p {
  margin-bottom: 16px;
  color: #2d3748;
}

.author-content p:last-child {
  margin-bottom: 0;
}

.author-content a {
  color: #fc8181;
  text-decoration: none;
  border-bottom: 1px solid #fc8181;
  font-weight: 500;
  transition: all 0.2s ease;
}

.author-content a:hover {
  color: #4a5568;
  border-bottom-color: #4a5568;
}

/* Article footer */
.article-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 2px solid #f8f8f8;
  text-align: center;
  font-size: 0.85rem;
  color: #4a5568;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  article {
    padding: 24px;
    border-radius: 12px;
  }

  .article-header h1 {
    font-size: 1.8rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .article-content h3 {
    font-size: 1.2rem;
  }

  .author-box {
    padding: 24px;
    border-radius: 12px;
  }

  .author-box h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  article {
    padding: 20px;
  }

  .article-header h1 {
    font-size: 1.5rem;
  }

  .article-content h2 {
    font-size: 1.3rem;
  }

  .author-box {
    padding: 20px;
  }
}
