.media-container {
  display: flex;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  gap: 30px;
}

/* Wrapper của cả cột trái */
.media-left {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sidebar: Bài viết mới nhất */
.media-sidebar {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 5px;
  background-color: #fff;
  display: inline-block;
}

.media-sidebar h3 {
  font-size: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ccc; 
  text-align: center;
}

.sidebar-post {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.sidebar-post img {
  width: 80px;
  height: 60px;
  object-fit: cover;
}

.sidebar-post-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* Danh mục blog */
.blog-categories {
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 5px;
  background-color: #fff;
}

.blog-categories h3 {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 2px solid #ccc; /* đổi từ dotted thành solid */
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  padding: 10px 0;
  border-bottom: 1px dotted #ccc;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}

.category-list li:hover {
  color: #007bff;
}

/* Nội dung Media bên phải */
.media-main {
  width: 70%;
}

.media-main h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

.media-post {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.media-post img {
  width: 250px;
  height: 180px;
  object-fit: cover;
}

.media-post-content {
  flex: 1;
}

.media-post-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.media-category {
  color: gray;
  font-size: 14px;
  margin-bottom: 10px;
}

.media-desc {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
}
.media-post img {
  transition: transform 0.3s ease; /* mượt khi zoom */
}
.media-post img:hover {
  transform: scale(1.1); /*zoom 10%*/
}
.media-post {
  overflow: hidden;
}

