/* Paula Abdul redesign v2.23 — tour photographs, merchandise, and album overview. */
/* Preserve the section rhythm of the archive while allowing genuinely readable photographs. */
.legacy-main.editorial-detail .legacy-section .v223-gallery-inner,
.legacy-main.editorial-detail .legacy-section .v223-gallery-grid {
  width:100%;max-width:none;min-width:0;
}
.legacy-main.editorial-detail .legacy-section .v223-gallery-grid {
  display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:clamp(12px,1.8vw,22px) !important;margin:1.3rem 0 0;
  grid-column:1 / -1;justify-items:stretch !important;
}
.legacy-main.editorial-detail .legacy-section .v223-gallery-card {
  margin:0;min-width:0;border:1px solid #e5d9d0;background:#faf7f3;
  padding:9px;display:flex;flex-direction:column;gap:9px;
}
.legacy-main.editorial-detail .legacy-section .v223-photo-button,
.legacy-main.editorial-detail .legacy-section .v223-merch-card {
  display:block;appearance:none;-webkit-appearance:none;border:0;cursor:zoom-in;
  width:100%;max-width:none;padding:0;margin:0;background:transparent;min-width:0;
}
.legacy-main.editorial-detail .legacy-section .v223-gallery-grid .v223-gallery-card img {
  display:block !important;width:100% !important;max-width:100% !important;
  height:clamp(142px,15vw,215px) !important;max-height:none !important;
  object-fit:cover !important;margin:0 !important;border-radius:0;
}
.legacy-main.editorial-detail .legacy-section .v223-gallery-card figcaption {
  font-size:clamp(.84rem,1vw,.97rem);line-height:1.55;color:#51454a;margin:0;
}
.legacy-main.editorial-detail .legacy-section .v223-photo-button:focus-visible,
.legacy-main.editorial-detail .legacy-section .v223-merch-card:focus-visible {
  outline:3px solid #934b76;outline-offset:4px;
}
.legacy-main.editorial-detail .legacy-section .v223-legacy-anchor {display:block;position:relative;scroll-margin-top:98px;height:0;}
/* Old four-up thumbnail rule made the wide merchandise photographs nearly unreadable. */
.legacy-main.editorial-detail .legacy-section .tour-merch-photo-grid.v223-merch-grid {
  display:grid !important;grid-column:1 / -1 !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  justify-items:stretch !important;align-items:start !important;
  gap:clamp(15px,2vw,25px) !important;
  width:100% !important;max-width:980px !important;margin:26px auto !important;
}
.legacy-main.editorial-detail .legacy-section .tour-merch-photo-grid.v223-merch-grid .v223-merch-card {
  display:flex !important;align-items:center;justify-content:center;
  min-width:0 !important;max-width:none !important;width:100% !important;
  background:#faf7f3;border:1px solid #e7ded4 !important;padding:13px !important;
  margin:0 !important;min-height:160px;
}
.legacy-main.editorial-detail .legacy-section .tour-merch-photo-grid.v223-merch-grid img {
  display:block !important;width:100% !important;max-width:100% !important;
  height:auto !important;max-height:none !important;object-fit:contain !important;
  margin:0 !important;border-radius:0;
}
/* The Very Best Of cover belongs with the Overview prose, not only in the header. */
.v223-overview-cover-section .text-wrapper::after {content:"";display:block;clear:both;}
.legacy-main.editorial-detail .legacy-section .v223-album-cover {
  float:right;width:min(40%,255px);margin:0 0 1rem 1.6rem;
}
.legacy-main.editorial-detail .legacy-section .v223-album-cover img {
  display:block;width:100% !important;height:auto !important;max-width:100% !important;
  max-height:none !important;object-fit:contain !important;margin:0 !important;
  box-shadow:0 10px 28px rgba(20,14,18,.13);
}
/* A standalone video section that matches the site's existing CouchCMS/editorial styling. */
.legacy-main.editorial-detail .legacy-section.v223-video-section .v223-video-inner {max-width:950px;margin:0 auto;}
.legacy-main.editorial-detail .legacy-section.v223-video-section .v223-video-player {width:100%;max-width:900px;margin:18px auto 0;}
.legacy-main.editorial-detail .legacy-section.v223-video-section .v223-video-player iframe {
  display:block;width:100% !important;max-width:100% !important;
  height:auto !important;aspect-ratio:16/9;border:0;margin:0;
}
@media(max-width:860px){
  .legacy-main.editorial-detail .legacy-section .v223-gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .legacy-main.editorial-detail .legacy-section .v223-gallery-grid .v223-gallery-card img {height:195px !important;}
}
@media(max-width:570px){
  .legacy-main.editorial-detail .legacy-section .v223-gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:9px !important;}
  .legacy-main.editorial-detail .legacy-section .v223-gallery-card{padding:5px;gap:6px;}
  .legacy-main.editorial-detail .legacy-section .v223-gallery-grid .v223-gallery-card img{height:155px !important;}
  .legacy-main.editorial-detail .legacy-section .tour-merch-photo-grid.v223-merch-grid {grid-template-columns:1fr !important;}
  .legacy-main.editorial-detail .legacy-section .v223-album-cover{float:none;margin:0 auto 1.4rem;width:min(100%,260px);}
}
@media(max-width:380px){
  .legacy-main.editorial-detail .legacy-section .v223-gallery-grid{grid-template-columns:1fr !important;}
  .legacy-main.editorial-detail .legacy-section .v223-gallery-grid .v223-gallery-card img{height:auto !important;max-height:300px !important;object-fit:contain !important;}
}
