/* Ghi đè hiệu ứng section-reveal cho trang chi tiết bài viết với độ ưu tiên cao hơn */
body .section-reveal {
  opacity: 1 !important;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Layout cho post-detail: ảnh nhỏ bên trái, tiêu đề và mô tả bên phải */
.post-detail-flex {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 18px;
}
.post-detail-image-col {
  flex: 0 0 120px;
  max-width: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.post-detail-image-small {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  background: #f7f7f7;
}
.post-detail-info-col {
  flex: 1 1 0%;
  min-width: 0;
}
.post-detail-title {
  margin: 0 0 6px 0;
  font-size: 1.5rem;
  color: var(--brand);
  line-height: 1.2;
}
.post-detail-meta {
  font-size: 0.98rem;
  color: #888;
  margin-bottom: 6px;
}
.post-detail-shortdesc {
  font-size: 1.08rem;
  color: #444;
  margin-bottom: 0;
}
.post-detail-content {
  margin-top: 18px;
  font-size: 1.08rem;
  color: #222;
  line-height: 1.7;
}
.post-detail-content img {
  display: block !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 12px auto !important;
}
.post-detail-content figure {
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}
.post-detail-content figure img {
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 700px) {
  .post-detail-flex {
    flex-direction: column;
    gap: 12px;
  }
  .post-detail-image-col {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
  .post-detail-image-small {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    height: 360px !important;
    min-height: 360px;
    border-radius: 0;
    object-fit: cover;
    box-shadow: none;
    display: block;
  }
}

/* Layout danh sách tin tức: ảnh bên trái, tiêu đề và mô tả bên phải */
.news-list-flex {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 14px 18px;
}
.news-list-image-col {
  flex: 0 0 90px;
  max-width: 90px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.news-list-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 7px;
  background: #f7f7f7;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.news-list-image.news-list-image-large {
  width: 110px;
  height: 110px;
  max-width: 110px;
  max-height: 110px;
}
.news-list-info-col {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.news-list-title {
  margin: 0 0 2px 0;
  font-size: 1.18rem;
  color: var(--brand);
  line-height: 1.2;
}
.news-list-meta {
  font-size: 0.97rem;
  color: #888;
  margin-bottom: 2px;
}
.news-list-desc {
  font-size: 1.04rem;
  color: #444;
  margin-bottom: 0;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .news-list-flex {
    flex-direction: column;
    gap: 10px;
    padding: 10px 6vw;
  }
  .news-list-image-col {
    max-width: 100%;
    justify-content: flex-start;
  }
  .news-list-image {
    width: 70px;
    height: 70px;
  }
  .news-list-image.news-list-image-large {
    width: 90px;
    height: 90px;
    max-width: 90px;
    max-height: 90px;
  }
}
