.kh-outfit-wall {
  --outfit-rule: #c9bda1;
  --outfit-frame: #fffdf7;
}

.kk-site .kh-outfit-wall > .kh-inner {
  padding: clamp(14px, 3vw, 30px);
  background: #f8f5ec;
  border: 1px solid var(--outfit-rule);
  border-radius: 3px;
}

.kh-outfit-wall__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--outfit-rule);
}

.kh-outfit-wall__head .kh-theme { margin: 0 0 6px; }
.kh-outfit-wall__head h2 { margin-bottom: 6px; }

.kh-outfit-wall__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(8px, 1.8vw, 20px);
  margin-top: 16px;
}

.kh-outfit-wall__grid figure {
  min-width: 0;
  margin: 0;
  padding: clamp(4px, .7vw, 8px);
  background: var(--outfit-frame);
  border: 1px solid var(--outfit-rule);
}

.kh-outfit-wall__grid figure:nth-child(even) { margin-top: clamp(8px, 2vw, 24px); }
.kh-outfit-wall__grid a { display: block; }
.kh-outfit-wall__grid a:hover { outline: 1px solid currentColor; }

.kh-outfit-wall__grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: #ece6d9;
}

.kh-outfit-wall__grid figcaption {
  display: flex;
  align-items: baseline;
  gap: .5em;
  padding: .55em .12em .18em;
  color: #28251f;
  font-size: clamp(.75rem, 1.2vw, .95rem);
  font-weight: 700;
  line-height: 1.25;
}

.kh-outfit-wall__grid figcaption span {
  color: #675939;
  font-size: .82em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 660px) {
  .kh-outfit-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-outfit-wall__grid figure:nth-child(even) { margin-top: 0; }
}
