/* ==========================================================================
   VetroMax Single Blog Post Stylesheet
   ========================================================================== */

/* 1. Blog Post Content Layout */
.vm-single-post {
  padding: 80px 0;
  background-color: var(--vm-white);
}

.vm-single-post__content {
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}

.vm-single-post__content p {
  font-family: var(--vm-font-primary);
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 24px;
}

.vm-single-post__content p:last-child {
  margin-bottom: 0;
}

.vm-single-post__content strong {
  font-weight: 700;
  color: #000000;
}

/* 2. Performance Section Styles */
.vm-blog-performance-section {
  background-color: var(--vm-white);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 80px 0;
}

.vm-blog-performance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
}

/* Center Dividing Line on Desktop */
.vm-blog-performance__column {
  position: relative;
}

.vm-blog-performance__column:first-child::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #dddddd;
}

.vm-blog-performance__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.vm-blog-performance__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vm-blog-perf-icon {
  color: #000000;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fafafa;
  margin-bottom: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.vm-blog-performance__item:hover .vm-blog-perf-icon {
  transform: scale(1.05);
  border-color: rgba(0, 0, 0, 0.15);
  background-color: #f0f0f0;
}

.vm-blog-perf-name {
  font-family: var(--vm-font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 4px;
  line-height: 1.3;
  min-height: 34px;
  display: block;
}

.vm-blog-perf-name small {
  font-weight: 500;
  color: #666666;
}

.vm-blog-perf-code {
  font-family: var(--vm-font-primary);
  font-size: 12px;
  font-weight: 500;
  color: #777777;
  margin: 0;
  display: block;
}

/* ==========================================================================
   3. Responsive Media Queries
   ========================================================================== */

@media (max-width: 991px) {
  .vm-blog-performance {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vm-blog-performance__column:first-child::after {
    display: none;
  }

  .vm-blog-performance__column {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 32px;
  }

  .vm-blog-performance__column:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .vm-single-post {
    padding: 50px 0;
  }

  .vm-blog-performance-section {
    padding: 50px 0;
  }

  .vm-blog-performance__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .vm-blog-performance__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .vm-blog-perf-name {
    min-height: auto;
  }
}
