/* ============================================
   LISTING PAGES — Category / Tag / Search
   ============================================ */

/* ---------- PAGE TITLE BAND ---------- */
.listing-title-band {
  background: linear-gradient(135deg, #ed028ac7 0%, #ed028a 100%);
  color: #fff;
  padding: 40px 0 36px;
  position: relative;
  overflow: hidden;
}

.listing-title-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.08), transparent 50%);
  pointer-events: none;
}

.listing-title-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.listing-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}

.listing-title-band h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
  line-height: 1.2;
}

.listing-title-band p {
  font-size: 14px;
  opacity: .85;
  margin: 0;
  color: white;
}

@media (max-width: 600px) {
  .listing-title-band { padding: 28px 0 24px; }
  .listing-title-band h1 { font-size: 22px; }
  .listing-icon { width: 48px; height: 48px; font-size: 22px; border-radius: 12px; }
}

/* ---------- ARTICLE GRID (2 columns large cards) ---------- */
.single-tech-inner-news {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .2s;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

.single-tech-inner-news:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.single-tech-inner-news .tech-news-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
}

.single-tech-inner-news .tech-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.single-tech-inner-news:hover .tech-news-image img {
  transform: scale(1.05);
}

.single-tech-inner-news .tech-news-content {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.single-tech-inner-news .tech-news-content > span {
  display: inline-block;
  color: #c0392b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.single-tech-inner-news h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 12px;
  font-weight: 700;
}

.single-tech-inner-news h3 a {
  color: #1e293b;
  text-decoration: none;
  transition: color .15s;
}

.single-tech-inner-news h3 a:hover {
  color: #c0392b;
}

.single-tech-inner-news .tech-news-content p {
  color: #64748b;
  font-size: 13px;
  margin-top: auto;
  margin-bottom: 0;
}

.single-tech-inner-news .tech-news-content p a {
  color: #c0392b;
  font-weight: 500;
}

/* ---------- EMPTY STATE ---------- */
.listing-empty {
  background: #fff;
  border-radius: 12px;
  padding: 60px 30px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.listing-empty-icon {
  font-size: 56px;
  opacity: .35;
  margin-bottom: 16px;
}

.listing-empty h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e293b;
}

.listing-empty p {
  color: #64748b;
  margin-bottom: 20px;
}

.listing-empty .btn {
  display: inline-block;
  padding: 10px 22px;
  background: #c0392b;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
}

.listing-empty .btn:hover {
  background: #a93226;
}

/* ---------- PAGINATION (override theme if needed) ---------- */
.pagination-area {
  margin-top: 20px;
  text-align: center;
  margin-bottom: 30px;
}

.pagination-area .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  margin: 0 3px 8px;
  border-radius: 8px;
  border: 1.5px solid #e2e8f0;
  color: #1e293b;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s;
  background: #fff;
}

.pagination-area .page-numbers:hover {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
  text-decoration: none;
}

.pagination-area .page-numbers.current {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.pagination-area .page-numbers.dots {
  border: none;
  background: none;
  cursor: default;
}

.pagination-area .page-numbers.dots:hover {
  background: none;
  color: #1e293b;
}

.pagination-area .page-numbers i {
  font-size: 20px;
}