.niit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 20px 0;
}
.niit-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .2s;
}
.niit-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.niit-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.niit-card-body { padding: 16px; }
.niit-card-title {
  margin: 0 0 8px;
  font-size: 1.1em;
  line-height: 1.4;
}
.niit-card-text { color: #555; font-size: .95em; line-height: 1.6; }
.niit-badge {
  display: inline-block;
  background: #1e73be;
  color: #fff;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: .8em;
  margin-bottom: 8px;
}
.niit-date { color: #888; font-size: .85em; display: block; margin-bottom: 8px; }
.niit-card-meta { color: #666; font-size: .9em; margin-top: 8px; }
.niit-list { list-style: none; padding: 0; }
.niit-list-item { padding: 12px 0; border-bottom: 1px solid #eee; }
.niit-list-title { margin: 0 0 4px; font-size: 1em; }
.niit-list-text { color: #666; font-size: .9em; margin: 0; }
.niit-stack { display: flex; flex-direction: column; gap: 16px; }
.niit-event { padding: 12px; border-left: 3px solid #1e73be; background: #f8f9fa; }
.niit-event-title { margin: 0 0 4px; font-size: 1em; }
.niit-event-desc { color: #666; font-size: .9em; margin: 4px 0 0; }
.niit-team-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.niit-team-card { text-align: center; padding: 16px; }
.niit-team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.niit-team-name { margin: 0; font-size: 1em; }
.niit-team-role { color: #666; font-size: .85em; margin: 4px 0 0; }
.niit-full-content { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eee; }
.niit-read-more {
  background: none;
  border: 1px solid #1e73be;
  color: #1e73be;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: .9em;
  margin-top: 8px;
}
.niit-read-more:hover { background: #1e73be; color: #fff; }

/* Pagination */
.pagination {
  margin: 32px 0;
  text-align: center;
}
.pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 2px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
}
.pagination .page-numbers.current {
  background: #1e73be;
  color: #fff;
  border-color: #1e73be;
}
.pagination .page-numbers:hover:not(.current) {
  background: #f0f0f0;
}

/* Single post */
.niit-single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0;
}
.niit-single-title {
  font-size: 1.8em;
  margin-bottom: 8px;
  line-height: 1.3;
}
.niit-single-content {
  font-size: 1.05em;
  line-height: 1.8;
  color: #333;
}
.niit-single-content p {
  margin-bottom: 1.2em;
}
.niit-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.niit-single-content h1,
.niit-single-content h2,
.niit-single-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.niit-single-content ul,
.niit-single-content ol {
  margin-bottom: 1.2em;
  padding-left: 24px;
}
.niit-single-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.2em;
}
.niit-single-content th,
.niit-single-content td {
  border: 1px solid #ddd;
  padding: 8px;
}

/* Card title links */
.niit-card-title a {
  color: inherit;
  text-decoration: none;
}
.niit-card-title a:hover {
  color: #1e73be;
}
