.cat_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;

  .cat_item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;

    &:hover {
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    }

    .cat_thumb {
      flex: 0 0 220px;

      img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
      }
    }

    .cat_content {
      flex: 1;

.cat_title {
  font-size: 18px;
  margin: 0 0 6px;
  line-height: 1.3;

  /* ⚠️ Quan trọng: phải set chiều rộng cố định hoặc có layout xác định */
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* hiển thị ... */
  white-space: normal; /* phải là normal để có nhiều dòng */

  a {
    color: #222;
    text-decoration: none;
    display: block;
    &:hover {
      color: #0073aa;
    }
  }
}



      .cat_desc {
        font-size: 14px;
        color: #555;
        margin-bottom: 6px; /* thu nhỏ font cho mobile */
    line-height: 1.4;
    -webkit-line-clamp: 2; /* vẫn giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
      }

      .cat_meta {
        font-size: 13px;
        color: #888;

        .cat_author {
          margin-right: 8px;
        }
      }
    }
  }
@media (max-width: 480px) {
  .cat_item {
    flex-direction: column; /* ảnh nằm trên, text bên dưới */
    align-items: flex-start;
  }

  .cat_thumb {
      flex: none !important;
  }
  
  .cat_thumb img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .cat_content {
    margin-top: 10px;
  }

  .cat_title {
    font-size: 16px; /* thu nhỏ font cho mobile */
    line-height: 1.4;
    -webkit-line-clamp: 2; /* vẫn giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cat_desc {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .cat_meta {
    font-size: 12px;
  }
}

}
.archive-header {
    background:none !important;
    border-bottom: none !important;
	.entry-title {
		font-size: 1.75rem;
		font-weight: 700;
		margin-bottom: 2rem;
		position: relative;
		padding-bottom: 10px;
		color: #333;
	}
	.entry-title:after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 50px;
		height: 4px;
		background-color: var(--rootcolor3);
	}	
	
}
.navigation.pagination {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  font-family: inherit;

  .nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
  }

  .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 6px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;

    &:hover {
      background: #0073aa;
      color: #fff;
    }

    &.current {
      background: #0073aa;
      color: #fff;
      cursor: default;
      font-weight: 600;
    }

    &.next,
    &.prev {
      background: #eee;
      font-weight: 500;
      padding: 0 14px;
    }
  }
}