/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.6.1772432886
Updated: 2026-03-02 06:28:06

*/
/* ── Category Page – Matches Homeworkify Blog Style ── */

.category-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* Category Header */
.category-header {
  text-align: center;
  margin-bottom: 40px;
}

.category-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.category-description {
  font-size: 1rem;
  color: #666;
}

/* Grid – 3 columns matching blog layout */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Card */
.post-card {
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Thumbnail */
.post-thumbnail-link {
  display: block;
  overflow: hidden;
  margin-bottom: 15px;
}

.post-thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* Title */
.post-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.post-card-title a {
  text-decoration: none;
  color: #1a1a1a;
}

.post-card-title a:hover {
  color: #2563eb;
}

/* Date */
.post-card-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
}

/* Excerpt */
.post-card-excerpt {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 12px;
}

/* Read More – matches your blog's text link style */
.read-more-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  display: inline-block;
}

.read-more-btn:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

/* Pagination */
.pagination-wrapper {
  text-align: center;
  margin-top: 20px;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #2563eb;
  text-decoration: none;
  font-size: 0.9rem;
}

.pagination-wrapper .page-numbers.current {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.pagination-wrapper .page-numbers:hover:not(.current) {
  background: #f5f5f5;
}

/* No posts */
.no-posts {
  text-align: center;
  color: #888;
  font-size: 1rem;
  padding: 40px 0;
}

/* Responsive */
@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .posts-grid { grid-template-columns: 1fr; }
}

