/* Deliberately minimal: layout, images, names, and social icons continue to
   use MechBunny's existing .row and .item-col.-model rules. */
.dynamic-models-panel {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 13px 6px;
  border: 1px solid #3f3f3f;
  background: #161616;
  margin-bottom: 26px;
}

.dynamic-models-panel > .title-col {
  margin-top: 0;
}

.dynamic-models-panel > header.row {
  align-items: center;
  margin-bottom: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ffbd0a;
  background: #202020;
}

.dynamic-models-panel > header.row .title-col {
  margin-bottom: 0;
}

/* Keep four/eight featured performers balanced at every breakpoint. */
.dynamic-models-panel > .row:not(header) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-left: 0;
  margin-right: 0;
}

.dynamic-models-panel > .row:not(header) > .item-col.-model {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  flex: none;
}

.item-col.-model .dynamic-model-recent {
  display: block;
  flex: 1 0 100%;
  min-width: 0;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
}

.item-col.-model .dynamic-model-studio,
.item-col.-model .dynamic-model-scene {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-col.-model .dynamic-model-studio {
  color: #ffbd0a;
  font-weight: 700;
}

.item-col.-model .dynamic-model-scene {
  color: #fff;
}

.item-col.-model .dynamic-model-scene:hover {
  color: #ffbd0a;
}

.dynamic-models-panel .item-col.-model .model-social {
  flex: 1 0 100%;
  justify-content: flex-start;
  margin-top: 6px;
}

.dynamic-models-panel .item-col.-model .model-social a {
  margin-left: 0;
  margin-right: 10px;
}

.dynamic-models-index-heading {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 8px 0 0;
  padding: 0 0 10px;
  border-bottom: 1px solid #3f3f3f;
}

.dynamic-models-index-heading .title-icon {
  margin-right: 10px;
  color: #ffbd0a;
}

.dynamic-models-index-heading h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
}

@media (max-width: 1279px) {
  .dynamic-models-panel > .row:not(header) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .dynamic-models-panel > .row:not(header) {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
