@import url("/mirror-layout.css");

html:not([data-columns-visible]) a[href^="/columns"],
html:not([data-columns-visible]) :is(#kcol,#fcol),
html:not([data-columns-visible]) :is(#kcol,#fcol) + .kcards,
html:not([data-columns-visible]) :is(#kcol,#fcol) + .kcards + .kcnm,
html:not([data-columns-visible]) :is(a[href="#kcol"],a[href="#fcol"]),
html:not([data-columns-visible]) .insight .tabs li:nth-child(3),
html:not([data-columns-visible]) .rList .rTab li:first-child,
html:not([data-board-ready]) body[data-cms-board] main {
  display: none !important;
}

/* Uploaded portraits can have any aspect ratio and have no face crop coordinates. */
#pg#pg .skTop img.cms-portrait {
  top: 0 !important;
  bottom: auto !important;
  left: auto !important;
  right: max(4%, calc((100% - 1100px) / 2)) !important;
  width: 42% !important;
  height: calc(100% - 30px) !important;
  object-fit: contain !important;
  object-position: right bottom;
  clip-path: none !important;
  transform: none !important;
}
@media (max-width: 767px) {
  #pg#pg .skTop img.cms-portrait {
    right: 3% !important;
    height: calc(100% - 110px) !important;
  }
}

/* Uploaded portraits do not have the crop coordinates used by the studio photos. */
#bgrid .bc .ph img.cms-card-portrait {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center bottom;
  transform: none !important;
}

#bgrid .bc[hidden], #bgrid + .bmore[hidden] { display: none !important; }
