.blog-page,
.blog-detail {
  min-height: 65vh;
  background: #f8f7f3;
}

.blog-page .page-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 80px 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(31, 29, 26, 0.68), rgba(31, 29, 26, 0.82)),
    url('/photo/003.webp') center 48% / cover no-repeat;
}

.blog-page .page-banner::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: '';
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.blog-page .page-banner .container {
  position: relative;
  z-index: 1;
}

.blog-page .page-banner h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.blog-page .page-banner p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.blog-grid-section {
  padding: 72px 0 84px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.blog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(40, 36, 29, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 48px rgba(40, 36, 29, 0.14);
}

.blog-card > a {
  display: block;
  overflow: hidden;
}

.blog-card img {
  display: block;
  width: 100%;
  height: 235px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover img {
  transform: scale(1.04);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 27px 28px 30px;
}

.blog-card time,
.article-date {
  color: #8a7a5a;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.blog-card h2 {
  margin: 12px 0 13px;
  color: #2d2d2d;
  font-size: 1.3rem;
  line-height: 1.5;
}

.blog-card h2 a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card h2 a:hover {
  color: #b8941f;
}

.blog-card-body p {
  margin: 0 0 22px;
  color: #666;
  line-height: 1.8;
}

.blog-card .read-more {
  margin-top: auto;
  color: #9b7917;
  font-weight: 700;
  text-decoration: none;
}

.blog-card .read-more::after {
  margin-left: 7px;
  content: '\2192';
  transition: margin-left 0.2s ease;
}

.blog-card .read-more:hover::after {
  margin-left: 11px;
}

.blog-grid .empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 70px 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  color: #766b57;
  text-align: center;
  background: #fff;
  box-shadow: 0 12px 36px rgba(40, 36, 29, 0.06);
}

.blog-detail {
  padding: 58px 0 76px;
}

.blog-detail .article-content {
  max-width: 940px;
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(40, 36, 29, 0.09);
}

.blog-detail .breadcrumbs {
  margin-bottom: 24px;
  color: #85785f;
  line-height: 1.7;
}

.blog-detail .breadcrumbs a {
  color: #9b7917;
  text-decoration: none;
}

.blog-detail .article-content > h1 {
  margin: 0 0 14px;
  color: #2d2d2d;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.35;
}

.blog-detail .article-date {
  margin-bottom: 28px;
}

.blog-detail .article-cover {
  display: block;
  width: 100%;
  max-height: 560px;
  margin: 26px 0 34px;
  border-radius: 10px;
  object-fit: cover;
}

.blog-detail .summernote-content {
  color: #494949;
  font-size: 1.04rem;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.blog-detail .summernote-content h2,
.blog-detail .summernote-content h3 {
  margin-top: 1.7em;
  color: #302d27;
  line-height: 1.45;
}

.blog-detail .summernote-content img {
  height: auto !important;
  border-radius: 8px;
}

.blog-detail .summernote-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.blog-detail .summernote-content th,
.blog-detail .summernote-content td {
  padding: 10px 12px;
  border: 1px solid #ddd6c8;
}

.blog-detail .summernote-content blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  border-left: 4px solid #d4af37;
  color: #625b4f;
  background: #faf8f1;
}

@media (max-width: 950px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-page .page-banner {
    min-height: 300px;
    padding: 58px 0;
  }

  .blog-grid-section {
    padding: 46px 0 58px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .blog-card img {
    height: 215px;
  }

  .blog-detail {
    padding: 34px 0 50px;
  }

  .blog-detail .article-content {
    width: min(94%, 940px);
  }
}