/* Photographic programme covers share one treatment across every show view. */
.show-art.has-photo {
  --cover-accent: #d5fa43;
  container-type: inline-size;
  background: #161914;
  color: #f9faf4;
}
.show-art.has-photo.art-sunrise { --cover-accent: #ffd29a; }
.show-art.has-photo.art-world { --cover-accent: #d5fa43; }
.show-art.has-photo.art-community { --cover-accent: #ffc6ae; }
.show-art.has-photo.art-drive { --cover-accent: #ffce8d; }
.show-art.has-photo.art-afterhours { --cover-accent: #bdcded; }
.show-art.has-photo .show-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
}
.show-art.has-photo .art-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7,11,7,.94), rgba(7,11,7,.58) 26%, transparent 56%, rgba(7,11,7,.3));
}
.show-art.has-photo .art-label {
  top: 7%;
  left: 8%;
  font-size: clamp(.375rem, 2.4cqw, .625rem);
  color: #f9faf4;
  letter-spacing: .12em;
  text-shadow: 0 1px 8px #0009;
}
.show-art.has-photo .art-title {
  top: auto;
  bottom: 14%;
  left: 8%;
  right: 7%;
  max-width: 85%;
  font-size: clamp(1rem, 10cqw, 3rem);
  line-height: 1.01;
  letter-spacing: -.055em;
  color: #f9faf4;
  text-transform: none;
  text-wrap: balance;
  text-shadow: 0 2px 16px #0005;
}
.show-art.has-photo .art-bottom {
  left: 8%;
  bottom: 7%;
  font-size: clamp(.375rem, 2.3cqw, .625rem);
  letter-spacing: .1em;
  color: var(--cover-accent);
  background: none;
  padding: 0;
}
.show-art.has-photo > svg { color: var(--cover-accent); }

/* The adjacent row label names each compact cover, leaving room for its photo. */
.show-art.has-photo.art-small .art-label,
.show-art.has-photo.art-small .art-title,
.show-art.has-photo.art-small .art-bottom,
.show-art.has-photo.art-small > svg { display: none; }
.show-art.has-photo.art-small .art-shade { background: none; }
.show-art.has-photo.art-small::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--cover-accent);
}

/* A wider crop in programme details retains the photograph's central subject. */
.show-dialog-art .show-art.has-photo .show-photo { object-position: 50% 33%; }
.show-dialog-art .show-art.has-photo .art-shade {
  background: linear-gradient(90deg, rgba(7,11,7,.84), rgba(7,11,7,.3) 60%, rgba(7,11,7,.08)), linear-gradient(0deg, #070b0780, transparent 70%);
}
.show-dialog-art .show-art.has-photo .art-label { left: 35px; top: 25px; font-size: .625rem; }
.show-dialog-art .show-art.has-photo .art-title {
  left: 35px;
  right: 35px;
  bottom: 57px;
  top: auto;
  max-width: 70%;
  font-size: clamp(2rem, 6cqw, 3rem);
}
.show-dialog-art .show-art.has-photo .art-bottom { left: 35px; bottom: 29px; font-size: .625rem; }
.gbr-app-show-art.has-photo { background: #161914; }
.gbr-app-show-art.has-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
@media (max-width: 700px) {
  .show-dialog-art .show-art.has-photo .art-label { left: 25px; top: 23px; font-size: .5rem; }
  .show-dialog-art .show-art.has-photo .art-title { left: 25px; right: 25px; bottom: 50px; max-width: 80%; font-size: clamp(1.8rem, 8cqw, 2.8rem); }
  .show-dialog-art .show-art.has-photo .art-bottom { left: 25px; bottom: 23px; font-size: .5rem; }
}

/* Editorial photography replaces graphics only where an article has an image. */
.editorial-art.has-editorial-photo,
.article-dialog-head.has-editorial-photo {
  isolation: isolate;
  background: #111811;
  color: var(--paper);
}
.editorial-art.has-editorial-photo > .editorial-photo,
.article-dialog-head.has-editorial-photo > .editorial-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
}
.editorial-art.has-editorial-photo > .editorial-photo {
  transition: transform .4s ease;
}
.editorial-art.has-editorial-photo > .editorial-photo-shade,
.article-dialog-head.has-editorial-photo > .editorial-photo-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #0710070a 28%, #07100712 48%, #071007a6 79%, #071007e8 100%);
}
.editorial-art.has-editorial-photo > .editorial-photo-label {
  left: 16px;
  right: 14px;
  bottom: 16px;
  z-index: 2;
  color: #f3f7eb;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .055em;
  text-shadow: 0 1px 9px #0008;
}
.editorial-card:hover .editorial-art.has-editorial-photo > .editorial-photo,
.editorial-card:focus-visible .editorial-art.has-editorial-photo > .editorial-photo {
  transform: scale(1.04);
}
.article-dialog-head.has-editorial-photo > .editorial-photo {
  object-position: 50% 38%;
}
.article-dialog-head.has-editorial-photo.art-world > .editorial-photo {
  object-position: 50% 24%;
}
.article-dialog-head.has-editorial-photo.art-dance > .editorial-photo {
  object-position: 50% 58%;
}
.article-dialog-head.has-editorial-photo > .editorial-photo-shade {
  background: linear-gradient(180deg, #07100712 20%, #07100720 43%, #071007d9 100%);
}
.article-dialog-head.has-editorial-photo > .editorial-photo-label {
  z-index: 2;
  right: 35px;
  color: #f3f7eb;
  font-size: .875rem;
  line-height: 1.5;
  letter-spacing: .075em;
  text-shadow: 0 1px 12px #0009;
}
@media (max-width: 700px) {
  .editorial-art.has-editorial-photo > .editorial-photo-label {
    left: 12px;
    right: 10px;
    bottom: 14px;
    letter-spacing: .025em;
  }
  .article-dialog-head.has-editorial-photo > .editorial-photo-label {
    right: 25px;
    letter-spacing: .055em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-art.has-editorial-photo > .editorial-photo { transition: none; }
  .editorial-card:hover .editorial-art.has-editorial-photo > .editorial-photo,
  .editorial-card:focus-visible .editorial-art.has-editorial-photo > .editorial-photo { transform: none; }
}
