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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f8f9fa;
  color: #333;
}

/* Header */
.site-header {
  background: #222;
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;  
  z-index: 1000;  
}
.site-header h1 {
  font-size: 20px;
}
.site-header .home-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.site-header .home-link:hover {
  text-decoration: underline;
}

/* Page Layout */
.article-page {
  display: flex;
  gap: 20px;
  padding: 20px 5px;
  max-width: 1200px;
  margin: auto;
}

/* Main Article */
.main-article {
  flex: 3;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.main-article h2 {
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: bold;
}
.main-article img,
.main-article video {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 6px;
}
.article-body {
  font-size: 16px;
  text-align: justify;
}

/* Related News */
.related-news {
  flex: 1;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.related-news h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}
.related-news-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}
.related-news-item img,
.related-news-item video {
  width: 80px;
  height: auto;
  border-radius: 4px;
  flex-shrink: 0;
}
.related-news-item h4 {
  font-size: 14px;
  line-height: 1.3;
}
.related-news-item a {
  color: #222;
  text-decoration: none;
}
.related-news-item a:hover {
  color: #d00;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 15px;
  background: #222;
  color: #fff;
  margin-top: 20px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .article-page {
    flex-direction: column;
  }
  .related-news {
    margin-top: 20px;
  }
}