/* Rekonstruktion nach Screenshot, Version 1.2.0. */
body:is(.page-id-580, .page-id-203) #content .content-wrapper { width: 100%; padding: 0; }
body:is(.page-id-580, .page-id-203) #content .content-wrapper > .row { margin: 0; }
body:is(.page-id-580, .page-id-203) #primary { padding: 0; }
body:is(.page-id-580, .page-id-203) #ProdEntry {
  text-align: center;
  padding: 20px 24px 30px;
  background: #0b0b0b;
}
body:is(.page-id-580, .page-id-203) #ProdEntry .strich img { display: block; width: 48px; height: auto; margin: 0 auto 20px; }
body:is(.page-id-580, .page-id-203) #ProdEntry h1 {
  margin: 0 0 26px;
  text-transform: uppercase;
  font-size: clamp(25px, 2vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: #ffed00;
}
body:is(.page-id-580, .page-id-203) #ProdEntry .firstContent { max-width: 1720px; margin: auto; font-size: 18px; line-height: 1.4; }
body:is(.page-id-580, .page-id-203) #da-thumbs .VideoSpan_on p { margin: 0; }
body:is(.page-id-580, .page-id-203) #da-thumbs .playbutton {
  display: block;
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 34%;
  width: clamp(60px, 5vw, 150px);
  aspect-ratio: 1;
  border: 7px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
body:is(.page-id-580, .page-id-203) #da-thumbs .playbutton::after {
  content: "";
  position: absolute;
  inset: 24% 20% 24% 34%;
  background: rgba(255, 255, 255, .9);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
body:is(.page-id-580, .page-id-203) #da-thumbs .portfolio-item:hover .playbutton,
body:is(.page-id-580, .page-id-203) #da-thumbs .portfolio-item:focus-within .playbutton { opacity: 1; }
/* Gemeinsame Galerie für Produktionen (580) und Team (203). */
body:is(.page-id-580, .page-id-203) #da-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 3.2%;
  row-gap: 18px;
  padding-right: 2.8%;
  background: #2a2a2a;
  height: auto !important;
}
body:is(.page-id-580, .page-id-203) #da-thumbs > .portfolio-item {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0;
}
body:is(.page-id-580, .page-id-203) #da-thumbs > .portfolio-item > a:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  color: #ffed00;
  text-decoration: none;
}
body:is(.page-id-580, .page-id-203) #da-thumbs .image_on,
body:is(.page-id-580, .page-id-203) #da-thumbs .image_off {
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 100%;
  height: auto;
  align-self: start;
  transition: opacity .25s ease;
}
body:is(.page-id-580, .page-id-203) #da-thumbs .image_on { opacity: 1; }
body:is(.page-id-580, .page-id-203) #da-thumbs .image_off { opacity: 0; }
body:is(.page-id-580, .page-id-203) #da-thumbs .VideoSpan_on {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  z-index: 2;
  display: block;
  box-sizing: border-box;
  min-height: 74px;
  padding: 12px 10px;
  margin: 0 !important;
  color: #fff;
  background: rgba(0, 0, 0, .72);
  font-size: 14px;
  line-height: 1.4;
  transition: background-color .25s ease, color .25s ease;
}
body:is(.page-id-580, .page-id-203) #da-thumbs .portfolio-item:hover .image_on,
body:is(.page-id-580, .page-id-203) #da-thumbs .portfolio-item:focus-within .image_on { opacity: 0; }
body:is(.page-id-580, .page-id-203) #da-thumbs .portfolio-item:hover .image_off,
body:is(.page-id-580, .page-id-203) #da-thumbs .portfolio-item:focus-within .image_off { opacity: 1; }
body:is(.page-id-580, .page-id-203) #da-thumbs .portfolio-item:hover .VideoSpan_on,
body:is(.page-id-580, .page-id-203) #da-thumbs .portfolio-item:focus-within .VideoSpan_on {
  background: rgba(255, 237, 0, .82);
  color: #000;
}
body:is(.page-id-580, .page-id-203) #da-thumbs > .portfolio-item > a:first-child:focus-visible {
  outline: 3px solid #ffed00;
  outline-offset: 3px;
}
/* Alte Platzhalter und durch fehlerhaftes HTML entstandene Leerabsätze. */
body:is(.page-id-580, .page-id-203) #da-thumbs > .portfolio-item > a:first-child > br,
body:is(.page-id-580, .page-id-203) #da-thumbs > .portfolio-item > p { display: none; }
body:is(.page-id-580, .page-id-203) .responsive-video {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: auto;
}
body:is(.page-id-580, .page-id-203) .inout .VideoText { padding: 20px; }
@media (max-width: 1100px) {
  body:is(.page-id-580, .page-id-203) #da-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body:is(.page-id-580, .page-id-203) #da-thumbs { grid-template-columns: minmax(0, 1fr); padding-inline: 12px; }
}
@media (hover: none), (pointer: coarse) {
  body:is(.page-id-580, .page-id-203) #da-thumbs .playbutton { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body:is(.page-id-580, .page-id-203) #da-thumbs .image_on,
  body:is(.page-id-580, .page-id-203) #da-thumbs .image_off,
  body:is(.page-id-580, .page-id-203) #da-thumbs .VideoSpan_on { transition: none; }
}

/* Team besitzt keinen #ProdEntry-Wrapper. Nur direkte Einleitungselemente. */
body.page-id-203 #post-203 .entry-content > .strich { text-align: center; padding-top: 20px; }
body.page-id-203 #post-203 .entry-content > .strich img { display: block; width: 48px; height: auto; margin: 0 auto 20px; }
body.page-id-203 #post-203 .entry-content > h1.title-post {
  text-align: center;
  margin: 0 20px 26px;
  text-transform: uppercase;
  font-size: clamp(25px, 2vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: #ffed00;
}
body.page-id-203 #post-203 .entry-content > .firstContent {
  text-align: center;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 24px 30px;
  font-size: 18px;
  line-height: 1.4;
}
body.page-id-203 #da-thumbs .VideoSpan_on { overflow-wrap: anywhere; }

/* Teamprofile: Desktop- und Mobilvariante abwechselnd anzeigen. */
body.parent-pageid-203 .TeamSingle .TeamMember_ArrowPhoto,
body.parent-pageid-203 .TeamSingle .TeamMember_onlyPhoto {
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 100%;
  margin: 0 auto 24px;
}
body.parent-pageid-203 .TeamSingle .TeamMember_ArrowPhoto { display: flex; }
body.parent-pageid-203 .TeamSingle .TeamMember_onlyPhoto { display: none; }
body.parent-pageid-203 .TeamSingle :is(.TeamMember_ArrowPhoto, .TeamMember_onlyPhoto) > img {
  width: 380px;
  max-width: calc(100% - 112px);
  height: auto;
  margin: 0;
}
body.parent-pageid-203 .TeamSingle :is(.TeamMember_ArrowPhoto, .TeamMember_onlyPhoto) > a {
  display: block;
  flex: 0 0 40px;
}
body.parent-pageid-203 .TeamSingle :is(.TeamMember_ArrowPhoto, .TeamMember_onlyPhoto) > a img {
  display: block;
  width: 40px;
  height: auto;
  margin: 0 !important;
}
@media (max-width: 600px) {
  body.parent-pageid-203 .TeamSingle .TeamMember_ArrowPhoto { display: none; }
  body.parent-pageid-203 .TeamSingle .TeamMember_onlyPhoto { display: flex; gap: 8px; }
  body.parent-pageid-203 .TeamSingle .TeamMember_onlyPhoto > img { max-width: calc(100% - 96px); }
}
