/* Results Gallery — composited before/after pairs. */

.hmt-res__grid {
  --hm-res-cols: 3;
  display: grid;
  grid-template-columns: repeat(var(--hm-res-cols), 1fr);
  gap: 22px;
}

.hmt-res__item { margin: 0; }

.hmt-res__shot {
  position: relative;
  border-radius: var(--hm-radius);
  overflow: hidden;
  background: var(--hm-panel);
}
.hmt-res__shot img { width: 100%; height: auto; }

/* The seam between the two halves, so the pairing reads instantly. */
.hmt-res__shot::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.hmt-res__mark {
  position: absolute;
  top: 12px;
  padding: 5px 11px;
  border-radius: var(--hm-pill);
  background: rgba(26, 26, 24, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.hmt-res__mark--b { left: 12px; }
.hmt-res__mark--a { right: 12px; }

.hmt-res__cap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-top: 14px;
}
.hmt-res__cap b {
  font-family: var(--hm-display);
  font-weight: 900;
  font-size: 1.02rem;
  color: var(--hm-ink);
}
.hmt-res__cap span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hm-gold-dark);
}

.hmt-res__foot {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--hm-line);
  font-size: 12.5px;
  max-width: 70ch;
}

@media (max-width: 980px) {
  .hmt-res__grid { --hm-res-cols: 2; }
}
@media (max-width: 600px) {
  .hmt-res__grid { --hm-res-cols: 1; gap: 18px; }
}
