.vg-blog-page {
  padding: 30px 0 60px;
  background: #f8f9fa;
  min-height: calc(100vh - 300px);
}

.vg-blog-header {
  text-align: center;
  margin-bottom: 24px;
}

.vg-blog-header .vg-page-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}

.vg-blog-header .vg-page-subtitle {
  font-size: 15px;
  color: #666;
  margin: 0;
}

.vg-categories-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 30px;
  width: 100%;
}

.vg-category-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-height: 42px;
  line-height: 1;
}

.vg-category-btn:hover,
.vg-category-btn.active {
  background: #eeab10;
  border-color: #eeab10;
  color: #fff;
}

.vg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vg-blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.vg-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.vg-blog-card:hover .vg-blog-image img {
  transform: scale(1.05);
}

.vg-blog-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.vg-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.vg-blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #eeab10;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.vg-blog-content {
  padding: 25px;
}

.vg-blog-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.vg-blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.vg-blog-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 12px;
}

.vg-blog-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.vg-blog-title a:hover {
  color: #eeab10;
}

.vg-blog-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vg-blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #eeab10;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.vg-blog-readmore:hover {
  gap: 12px;
}

.vg-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.vg-empty-state i {
  margin-bottom: 15px;
  display: block;
}

.vg-pagination-wrapper {
  margin-top: 40px;
  text-align: center;
}

.vg-pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.vg-page-link {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: #666;
  padding: 8px 14px;
  font-size: 14px;
  min-width: 38px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vg-page-link:hover {
  background: #f8f9fa;
  border-color: #eeab10;
  color: #eeab10;
}

.vg-page-link.is-active {
  background: #eeab10;
  border-color: #eeab10;
  color: #fff;
}

.vg-page-link.is-disabled {
  color: #ccc;
  pointer-events: none;
}

.vg-pagination-info {
  font-size: 13px;
  color: #888;
}

.vg-blog-detail-page {
  padding-bottom: 60px;
}

.vg-blog-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.vg-blog-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vg-blog-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.vg-blog-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 0;
  color: #fff;
}

.vg-blog-hero-content .container {
  max-width: 900px;
}

.vg-blog-hero-content .vg-blog-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 15px;
  line-height: 1.3;
  color: #fff;
}

.vg-blog-hero-content .vg-blog-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  opacity: 0.9;
  color: #fff;
}

.vg-blog-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: -40px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.vg-blog-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.vg-blog-detail-page .vg-blog-excerpt {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
  font-style: italic;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
  margin-bottom: 25px;
  display: block;
}

.vg-blog-body {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.vg-blog-body p,
.vg-blog-body ul,
.vg-blog-body ol {
  margin-bottom: 20px;
}

.vg-blog-body h2 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 30px 0 15px;
}

.vg-blog-body ul,
.vg-blog-body ol {
  padding-left: 20px;
}

.vg-blog-body li {
  margin-bottom: 10px;
}

.vg-blog-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #eee;
}

.vg-blog-share span {
  font-weight: 500;
  color: #333;
}

.vg-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.vg-share-btn.facebook { background: #3b5998; }
.vg-share-btn.twitter { background: #1da1f2; }
.vg-share-btn.linkedin { background: #0077b5; }

.vg-share-btn:hover {
  transform: translateY(-2px);
}

.vg-sidebar-widget {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.vg-sidebar-widget h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 15px;
  color: #333;
}

.vg-sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vg-sidebar-widget li {
  margin-bottom: 10px;
}

.vg-sidebar-widget a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.vg-sidebar-widget a i {
  font-size: 12px;
  color: #eeab10;
}

.vg-sidebar-widget a:hover {
  color: #eeab10;
}

.vg-sidebar-widget p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.vg-sidebar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eeab10;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.vg-related-posts {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.vg-section-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 25px;
  text-align: center;
}

.vg-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.vg-related-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.vg-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.vg-related-image {
  height: 150px;
  overflow: hidden;
}

.vg-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vg-related-content {
  padding: 15px;
}

.vg-related-category {
  font-size: 12px;
  color: #eeab10;
  font-weight: 500;
}

.vg-related-content h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 5px 0 0;
  line-height: 1.4;
}

.vg-related-content h3 a {
  color: #333;
  text-decoration: none;
}

.vg-related-content h3 a:hover {
  color: #eeab10;
}

@media (max-width: 991px) {
  .vg-blog-grid,
  .vg-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vg-blog-content-wrapper {
    grid-template-columns: 1fr;
    margin-top: -20px;
  }

  .vg-blog-hero {
    height: 350px;
  }

  .vg-blog-hero-content .vg-blog-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .vg-blog-page {
    padding: 40px 0;
  }

  .vg-blog-grid,
  .vg-related-grid {
    grid-template-columns: 1fr;
  }

  .vg-blog-header .vg-page-title {
    font-size: 28px;
  }

  .vg-categories-filter {
    gap: 8px;
  }

  .vg-category-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .vg-page-link {
    padding: 6px 10px;
    font-size: 13px;
    min-width: 32px;
  }

  .vg-blog-hero {
    height: 300px;
  }

  .vg-blog-hero-content {
    padding: 30px 0;
  }

  .vg-blog-hero-content .vg-blog-title {
    font-size: 22px;
  }

  .vg-blog-hero-content .vg-blog-meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
  }

  .vg-blog-content {
    padding: 25px;
  }

  .vg-blog-detail-page .vg-blog-excerpt {
    font-size: 16px;
  }

  .vg-blog-body {
    font-size: 15px;
  }

  .vg-blog-body h2 {
    font-size: 20px;
  }
}