/*
 * This css file includes styles added in the jekyll port of this theme.
 * To find the original style.css that ships with Airspace, read airspace.css
 *
 */

 .italic {
   font-style: italic;
 }

 .bold {
   font-weight: bold;
 }

 .center-text {
   text-align: center;
 }

/* ============================================
   Blog Listing Styles
   ============================================ */

.blog-listing {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.post-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--card-shadow);
  border-color: var(--color-primary);
}

.post-card .post-category {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  background: rgba(101, 94, 122, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

[data-theme="dark"] .post-card .post-category {
  background: rgba(139, 134, 163, 0.15);
  color: var(--color-primary-light);
}

.post-card .post-title {
  margin: 0 0 12px;
}

.post-card .post-title a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.post-card .post-title a:hover {
  color: var(--color-primary);
}

.post-card .post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.post-card .post-meta .author {
  font-weight: 500;
  color: var(--text-secondary);
}

.post-card .post-meta .separator {
  color: var(--border-color-dark);
}

.post-card .post-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.post-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.post-card .read-more:hover {
  gap: 10px;
  color: var(--color-primary-dark);
}

[data-theme="dark"] .post-card .read-more:hover {
  color: var(--color-primary-light);
}

.post-card .read-more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.post-card:hover .read-more svg {
  transform: translateX(4px);
}

/* Legacy post-area fallback - redirect to new styles */
.post-area {
  padding: 40px;
  width: 100%;
  min-height: 150px;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
}

.post-area a:link, .post-area a:visited {
  font-size: 24px;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.post-area a:hover {
  color: var(--color-primary);
}

.post-area .post-date {
  color: var(--text-tertiary);
  font-size: 13px;
  margin: 8px 0 16px;
}

.post-area p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Blog Listing Responsive */
@media (max-width: 767px) {
  .blog-listing {
    padding: 30px 16px 60px;
  }

  .post-card {
    padding: 24px;
    margin-bottom: 20px;
  }

  .post-card .post-title a {
    font-size: 20px;
  }

  .post-card .post-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .post-card .post-excerpt {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .post-card {
    padding: 20px;
  }

  .post-card .post-title a {
    font-size: 18px;
  }

  .post-card .post-category {
    font-size: 10px;
    padding: 3px 8px;
  }
}
