body {
  font-family: system-ui, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}
/* Căn giữa toàn bộ nội dung bài viết */
.article-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
}
.content {
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  margin-top: 20px;
  text-align: center; /* ✅ Thêm dòng này để căn giữa */
}

.content p {
  text-align: center; /* ✅ Căn giữa từng đoạn văn */
  margin: 12px 0;
}
.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

.content figure.wp-block-image {
  margin: 20px 0;
  text-align: center;
}

.content figcaption {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: 6px;
}

/* Căn giữa hình ảnh và cho chiều rộng phù hợp */
.article-container img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

.featured-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto 20px auto;
  object-fit: contain; /* không crop ảnh */
  border-radius: 6px;
}


/* Căn giữa và giãn dòng cho nội dung */
.article-container p,
.article-container h1,
.article-container h2,
.article-container h3 {
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Phần tiêu đề chính */
.article-container h1 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 700;
}

/* Header chỉnh gọn hơn */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  background-color: #fff;
  border-bottom: 2px solid #fdb833;
}

.header nav {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}

.header a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.site-header img.featured-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-bottom: 2px solid #f7b733;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 6px;
  text-align: center;
}

.logo .highlight {
  color: #f7b733;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.main-nav a {
  font-size: 15px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  text-decoration: underline;
}
.ad-slot {
  margin: 20px 0;
  text-align: center;
}

/* Styles from [...postpath].vue */
.main-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
}

.featured-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto 20px auto;
  object-fit: contain; /* không crop ảnh */
  border-radius: 6px;
}

.content {
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  margin-top: 20px;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-family: Arial, sans-serif;
}
.logo {
  font-size: 24px;
  font-weight: bold;
}
.highlight {
  color: #f7b733;
}
.main-nav a {
  margin-left: 20px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
}
.main-nav a:hover {
  text-decoration: underline;
}
.main-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}
.featured-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 30px;
}
.content {
  font-size: 18px;
  line-height: 1.6;
}
.site-footer {
  text-align: center;
  padding: 30px 0;
  background: #f8f8f8;
  font-size: 14px;
  margin-top: 60px;
}
.ad-slot {
  text-align: center;
  margin: 30px 0;
}