/* ===================================================================
   RESOURCE/RESEARCH INDEX — Card grid for listing pages
   Used by: research/index.html, resources/index.html
   =================================================================== */

.page-header,
.research-header {
  margin-top: 0;
}
.page-header .section-container,
.research-header .section-container {
  text-align: center;
}
.research-header h1 {
  margin-bottom: var(--space-2);
}
.research-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-5) 0;
}
.research-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--overlay-surface);
  box-shadow: var(--shadow);
  backdrop-filter: var(--backdrop-blur-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.research-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-hover);
}
.research-card a {
  display: grid;
  grid-template-columns: 320px 1fr;
  text-decoration: none;
  color: inherit;
}
.research-card > a > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.research-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  padding: var(--space-3);
}
.research-card-logo img {
  width: 140px;
  height: auto;
  object-fit: contain;
}
.research-card-body {
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.research-card h2 {
  font-size: var(--font-size-lg);
  margin: 0 0 var(--space-1);
  transition: color var(--transition-fast);
}
.research-card:hover h2 {
  color: var(--brand);
}
.research-card .blog-meta {
  color: var(--muted);
  font-size: var(--font-size-sm);
  margin: 0 0 var(--space-2);
}
.research-card .blog-desc {
  color: var(--muted);
  font-size: var(--font-size-sm);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .research-card a {
    grid-template-columns: 1fr;
  }
  .research-card img {
    height: auto;
    aspect-ratio: 1200 / 630;
  }
}
