.article-container {
  margin-top: 150px;
  padding: 0 20px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Blog Post Styling for Bizonnet */

/* Main article container */
.article-container {
  max-width: 800px;
  margin: 3rem auto 10px auto;
  padding: 0 1.5rem;
  font-family: "Work Sans", sans-serif;
  color: #333333;
  margin-top: 150px;
}

.readtime {
  color: #6692ff
}

/* Cover image styling */
.article-cover {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Article title */
.article-container{
  font-family: "Kanit", sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #333333;
}

/* Article subtitle */
.article-container .subtitle {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #4B5563;
}

/* Publication date */
.article-container time {
  display: block;
  font-family: "Work Sans", sans-serif;
  font-size: 0.875rem;
  color: #6B7280;
  margin-bottom: 2.5rem;
}

/* Main content container */
.article-content {
  font-family: "Work Sans", sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #374151;
}

/* Headings within the article */
.article-content{
  font-family: "Kanit", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #333333; /* Using your brand blue color */
}

.article-content h3 {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2563eb;
}

.article-content {
  font-family: "Kanit", sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: #1e40af;
}

/* Paragraphs */
.article-content p {
  margin-bottom: 1.5rem;
}

/* Links */
.article-content a {
  color: #1a56db;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.article-content a:hover {
  color: #1e40af;
  border-bottom-color: #1e40af;
}

/* Lists */
.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.75rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* Blockquotes */
.article-content blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #1a56db;
  background-color: rgba(37, 99, 235, 0.05);
  font-style: italic;
  color: #4B5563;
}

.article-content blockquote p {
  margin-bottom: 0;
}

/* Code blocks */
.article-content pre {
  margin: 1.5rem 0;
  padding: 1rem;
  background-color: #f3f4f6;
  border-radius: 6px;
  overflow-x: auto;
  font-family: monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.article-content code {
  font-family: monospace;
  font-size: 0.9em;
  background-color: #f3f4f6;
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

.article-content pre code {
  background-color: transparent;
  padding: 0;
}

/* Images */
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 2rem 0;
}

/* Tables */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.article-content th {
  background-color: #f9fafb;
  text-align: left;
  padding: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
  font-weight: 600;
}

.article-content td {
  padding: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.article-content tr:last-child td {
  border-bottom: none;
}

/* Horizontal rule */
.article-content hr {
  margin: 2.5rem 0;
  border: none;
  height: 1px;
  background-color: #e5e7eb;
}

/* Special styling for call-out sections */
.article-content .callout {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: rgba(37, 99, 235, 0.05);
  border-left: 4px solid #1a56db;
}

.article-content .callout-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a56db;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .article-container h1 {
    font-size: 2rem;
  }
  
  .article-container .subtitle {
    font-size: 1.125rem;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
  }
  
  .article-content h3 {
    font-size: 1.25rem;
  }
  
  .article-content h4 {
    font-size: 1.125rem;
  }
  
  .article-content {
    font-size: 1rem;
  }
}

/* Table of Contents (if needed) */
.table-of-contents {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f9fafb;
  border-radius: 8px;
}

.table-of-contents h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.table-of-contents ol {
  margin: 0;
  padding-left: 1.5rem;
}

.table-of-contents a {
  color: #1a56db;
  text-decoration: none;
}

.table-of-contents a:hover {
  text-decoration: underline;
}

/* Author section at the end of the article */
.author-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.author-container {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.author-info h4 {
  font-weight: 300;
  margin: 15px 0 0.25rem 0;
  font-family: "Kanit", sans-serif;
  font-size: x-large;
}

.author-bio {
  margin: 0;
  font-size: 0.95rem;
  color: #6B7280;
}

/* Social sharing */
.social-sharing {
  bottom: 0;
  width: 100%;
  margin: 0;
  margin-top: auto; /* Push to bottom if there's empty space */

}

.social-sharing h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1a56db;
  color: white;
  transition: background-color 0.2s ease;
}

.social-icon:hover {
  background-color: #1e40af;
}

/* Related articles section */
.related-articles {
  margin-top: 4rem;
}

.related-articles {
  font-family: "Kanit", sans-serif;
  margin-bottom: 1.5rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.article-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.article-card-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-card-content {
  padding: 1rem;
}

.article-card-title {
  font-family: "Kanit", sans-serif;
  font-size: 1.125rem;
  margin: 0 0 0.5rem 0;
}

.article-card-date {
  font-size: 0.875rem;
  color: #6B7280;
}