/* Compact reference rows: reveal opacity only; the headline keeps its width.
   The native details/fold interaction and its text remain unchanged. */
.studio-work .sw-service-clients[hidden] { display: none; }
.studio-work .sw-service-clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 112px));
  grid-template-rows: 32px;
  grid-column: 2 / -1;
  grid-row: 2;
  align-items: center;
  justify-content: start;
  gap: 20px;
  min-width: 0;
  width: 100%;
  height: 32px;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.studio-work .sw-service-clients img {
  display: block;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 32px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1);
}
.studio-work .sw-client-logo--white { filter: brightness(0) invert(1); }
/* The official Beko PNG includes a generous transparent press-kit margin. */
.studio-work .sw-service-clients img[data-client="beko"] {
  width: 60px;
  max-width: 60px;
  height: 60px;
  max-height: 60px;
  transform: translateY(2px);
}
.studio-work .sw-client-logo--paper {
  background: #eeefed;
  padding: 5px 7px;
  border-radius: 4px;
  object-position: center;
}
.studio-work .sw-service:has(> summary > .sw-service-clients:not([hidden])) > summary {
  row-gap: 12px;
  padding-block: 19px;
}
.studio-work .sw-service:has(> summary > .sw-service-clients:not([hidden])) .sw-service-toggle {
  grid-column: 3;
  grid-row: 1;
}
.studio-work .sw-service[open] .sw-service-clients,
.studio-work .sw-service > summary:focus-visible .sw-service-clients {
  opacity: 1;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .studio-work .sw-service > summary:hover .sw-service-clients {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 760px) {
  .studio-work .sw-service-clients {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 30px;
    height: 30px;
    max-width: 340px;
    gap: 16px;
  }
}
/* A touch screen has no hover. Keep the reference visible without extra taps. */
@media (hover: none), (pointer: coarse) {
  .studio-work .sw-service-clients { opacity: .85; transform: none; }
  .studio-work .sw-service[open] .sw-service-clients { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-work .sw-service-clients { transition: none; transform: none; }
}
@media (max-width:760px) {
  .studio-work .sw-service-clients {
    grid-template-rows:15px; height:15px; max-width:170px; gap:8px;
  }
  .studio-work .sw-service-clients img { max-height:15px; }
  .studio-work .sw-service-clients img[data-client="beko"] {
    width:30px; max-width:30px; height:30px; max-height:30px; transform:translateY(1px);
  }
  .studio-work .sw-service .sw-service-clients,
  .studio-work .sw-service[open] .sw-service-clients,
  .studio-work .sw-service > summary:is(:hover,:focus-visible) .sw-service-clients { opacity:.5; transform:none; }
}
