/* Elue caption-row cards: image + caption in two equal columns.
   Source of truth for .elue-caption-row / .elue-caption-card.
   Enqueued from functions.php as elue-content-cards (theme Version).
   Must be deployed with the theme; do not rely on style.css for this layout.
   Groups of 3 render as 2+1. Single column at max-width 700px. */

.entry-content .elue-caption-row{
  display:grid;
  gap:22px 24px;
  margin:8px 0 2em;
  align-items:start;
}
.entry-content .elue-caption-row--2,
.entry-content .elue-caption-row--3,
.entry-content .elue-caption-row--4,
.entry-content .elue-caption-row--n{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.entry-content .elue-caption-card{
  margin:0;
  min-width:0;
}
.entry-content .elue-caption-card img{
  width:100%;
  max-width:none;
  max-height:none;
  height:168px;
  object-fit:cover;
  margin:0 0 12px;
  display:block;
  background:#f3f4f7;
}
.entry-content .elue-caption-card figcaption h4,
.entry-content .elue-caption-card figcaption h5{
  margin:0 0 8px;
  font-family:var(--font-head);
  font-size:16px;
  font-weight:700;
  letter-spacing:-.01em;
  line-height:1.3;
  color:var(--navy);
}
.entry-content .elue-caption-card figcaption p{
  margin:0;
  font-family:var(--font-body);
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
}
@media (max-width:700px){
  .entry-content .elue-caption-row--2,
  .entry-content .elue-caption-row--3,
  .entry-content .elue-caption-row--4,
  .entry-content .elue-caption-row--n{
    grid-template-columns:1fr;
  }
  .entry-content .elue-caption-card img{height:200px;}
}

.entry-content .elue-caption-row--certs .elue-caption-card img,
.entry-content .elue-caption-card img.elue-img-native{
  height:280px;
  object-fit:contain;
  background:#fff;
}
