/* ================================================
   NEWS PAGE — Specific Styles
   ================================================ */

.news-controls {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-search-wrap {
  position: relative;
  max-width: 480px;
}

.news-search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.news-search {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: var(--black-card);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-tamil);
  outline: none;
  transition: var(--transition);
}

.news-search:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,169,0,0.1); }
.news-search::placeholder { color: var(--text-muted); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-item-card {
  background: var(--black-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-item-card:hover {
  border-color: rgba(242,169,0,0.6);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.nic-thumb {
  height: 200px;
  overflow: hidden;
  background: var(--black-card);
  flex-shrink: 0;
}

.nic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-item-card:hover .nic-thumb img { transform: scale(1.05); }

.news-placeholder-thumb {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--border-gold);
  background: linear-gradient(135deg, var(--black-card), var(--red-dark));
}

.nic-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nic-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.nic-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  flex: 1;
}

.nic-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nic-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.nic-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nic-date i { color: var(--gold); }

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}