/* Blog vitrin — template-2 uyarlaması */

.ws-blog-page {
  color: #1f1f1f;
}

.ws-blog-hero {
  margin-bottom: 2rem;
}

.ws-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.5rem;
  align-items: start;
}

.ws-blog-layout--grid .ws-blog-posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.ws-blog-layout--list .ws-blog-post-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.ws-blog-post-card__media {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 4 / 3;
  background: #f3f3f3;
}

.ws-blog-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-blog-post-card__title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

.ws-blog-post-card__title a {
  color: inherit;
}

.ws-blog-post-card__meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.ws-blog-post-card__excerpt {
  color: #555;
  margin-bottom: 0.75rem;
}

.ws-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ws-blog-widget {
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  padding: 1.25rem;
}

.ws-blog-widget__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.ws-blog-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ws-blog-widget li + li {
  margin-top: 0.65rem;
}

.ws-blog-search-form {
  display: flex;
  gap: 0.5rem;
}

.ws-blog-search-form input {
  flex: 1;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 0.65rem 0.85rem;
}

.ws-blog-search-form button {
  border: 0;
  border-radius: 0.75rem;
  background: #1f1f1f;
  color: #fff;
  padding: 0.65rem 1rem;
}

.ws-blog-detail__cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 1.25rem;
  margin-bottom: 1.5rem;
}

.ws-blog-detail__content {
  line-height: 1.7;
}

.ws-blog-detail__content img {
  max-width: 100%;
  height: auto;
}

.ws-blog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.ws-blog-chip {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f3f3f3;
  font-size: 0.8rem;
  color: #333;
}

.ws-blog-related {
  margin-top: 3rem;
}

.ws-blog-featured-row,
.ws-blog-popular-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (max-width: 1023.98px) {
  .ws-blog-layout {
    grid-template-columns: 1fr;
  }

  .ws-blog-layout--list .ws-blog-post-card {
    grid-template-columns: 1fr;
  }

  .ws-blog-layout--grid .ws-blog-posts,
  .ws-blog-featured-row,
  .ws-blog-popular-row {
    grid-template-columns: 1fr;
  }
}
