/* Single Category Page Styles */
.category-page-layout {
  max-width: 1200px;

  margin-top: 120px;
}

.category-title {
  font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 48px;
  line-height: 1.2;
  color: #000326;

  text-align: left;
}

.category-count {
  font-weight: 400;
  color: rgba(49, 49, 50, 0.6);
}

.category-section {
  margin-top: 40px;
}

.category-section__articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.article-card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 12px;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card__placeholder {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
}

.article-card__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: 0;
}

.article-card__author {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 4px 8px;
  border-radius: 8px;
  background-color: rgba(247, 247, 247, 1);
}

.article-card__author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #007AFF;
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.article-card__author-name {
  font-size: 14px !important;
  color: #000326 !important;
  font-weight: 500 !important;
}

.article-card__author-name a {
  color: #000326 !important;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.article-card__author-name a:hover {
  opacity: 0.8 !important;
}

.article-card__category {
  padding: 6px 8px;
  border-radius: 8px;
  background-color: rgba(247, 247, 247, 1);
  color: rgba(49, 49, 50, 0.8);
  font-size: 14px;
  font-weight: 500;
}

.article-card__date {
  font-size: 14px;
  color: rgba(49, 49, 50, 0.6);
  margin: 0;
}

.article-card__title {
  margin: 0;
}

.article-card__title a {
  font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 18px;
  line-height: 1.3;
  color: #000326;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.article-card__title a:hover {
  opacity: 0.8;
}

.article-card__excerpt {
  font-size: 14px;
  color: rgba(49, 49, 50, 0.6);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__read-more {
  color: rgba(49, 49, 50, 0.5);;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0px;
}

.article-card__read-more:hover {
  color: rgba(49, 49, 50, 0.8);
}

.article-card__arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
  opacity: 0.5;
}

.article-card__read-more:hover .article-card__arrow {
  transform: translateX(4px);
  opacity: 0.8;
}

/* Breadcrumbs for category pages */
.breadcrumbs {
  margin-bottom: 40px;
  font-size: 16px;
  color: rgba(49, 49, 50, 0.6);
  background: none !important;
  padding: 0 !important;
  border-bottom: none !important;
}

.breadcrumbs a {
  color: rgba(49, 49, 50, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: rgba(49, 49, 50, 0.8);
}

.breadcrumbs__current {
  color: rgba(49, 49, 50, 0.8);
}

/* Sidebar positioning for category pages */
.category-page-layout .blog-sidebar {
  margin-top: 90px; /* 50px + 20px */
}

/* Responsive adjustments */
@media (max-width: 1200px) and (min-width: 701px) {
  .category-page-layout .blog-sidebar {
    position: static;
    width: 100%;
    padding-right: 0;
    margin-top: -60px;
  }

  .category-section__articles {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .category-title {
    font-size: 32px;
  }
  .category-page-layout .blog-sidebar {
    margin-top: -60px;
  }
  .category-section__articles {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .article-card {
    width: 100%;
    max-width: 100%;
  }
  .article-card__content {
    padding: 0;
  }
}
/* Old breakpoints removed in favor of two-step responsive layout */