.collections-page > .collections-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  align-items: start;
}

.kadr-editorial-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 180px) auto;
  align-items: end;
  gap: 12px;
  width: 100%;
  margin-block: 0 16px;
  grid-column: 1 / -1;
}

.kadr-editorial-tools label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--text);
  font-size: .875rem;
}

.kadr-editorial-tools :is(input, select) {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
}

.kadr-editorial-tools button { min-height: 44px; }

.kadr-editorial-intro {
  grid-column: 1 / -1;
  max-width: 68ch;
  color: var(--soft);
  overflow-wrap: anywhere;
}

.collections-grid .home-collection-card.kadr-editorial-card {
  display: grid;
  gap: 0;
  height: auto;
  min-width: 0;
  aspect-ratio: auto;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
}

.home-collection-card.kadr-editorial-card::after { content: none; }

.kadr-editorial-collage {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 2px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--secondary);
  color: var(--soft);
}

.kadr-editorial-collage > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 35%;
}

.kadr-editorial-collage > .icon {
  place-self: center;
  width: 44px;
  height: 44px;
}

.kadr-editorial-card-copy {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
  overflow-wrap: anywhere;
}

.kadr-editorial-card-copy > strong {
  font-size: 17px;
  line-height: 1.3;
}

.kadr-editorial-card-copy > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.45;
}

.kadr-editorial-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--soft);
  font-size: 13px;
}

.kadr-editorial-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.kadr-editorial-meta .icon { width: 15px; height: 15px; }
.kadr-editorial-detail-meta { margin-block: 12px; }
[data-kadr-editorial-detail] .collection-hero-copy { overflow-wrap: anywhere; }
[data-kadr-editorial-detail] h2[id^="editorial-discussion-"] { scroll-margin-block-start: 84px; }

@media (max-width: 560px) {
  .kadr-editorial-tools { grid-template-columns: minmax(0, 1fr) auto; }
  .kadr-editorial-tools > label:first-of-type { grid-column: 1 / -1; }
}

.kadr-editorial-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  grid-column: 1 / -1;
  margin-top: 12px;
}
