/* Keep captions readable independently of the photographed material. */
.legacy-home .legacy-popular-grid .widget-item { position:relative;overflow:hidden; }
.legacy-home .legacy-popular-grid .widget-item-picture::before { display:none; }
body.pk-site .legacy-home .legacy-popular-grid .widget-item-content {
    position:absolute;inset:0;display:flex;align-items:flex-end!important;padding:0!important;
}
body.pk-site .legacy-home .legacy-popular-grid .widget-item-content-container {
    width:100%;height:auto;display:block;flex:0 0 auto;align-self:flex-end;
    padding:14px 18px;background:rgba(15,18,22,.94);
}
.legacy-home .legacy-popular-grid .widget-item-name {
    margin:0;color:#fff!important;font-weight:600;text-shadow:0 1px 2px #0008;
}
.legacy-home .legacy-popular-grid .widget-item-content:hover .widget-item-content-container,
.legacy-home .legacy-popular-grid .widget-item-content:focus-visible .widget-item-content-container {
    background:#171b20;
}
.legacy-home .legacy-popular-grid .widget-item-content:focus-visible { outline:3px solid #d7372f;outline-offset:-3px; }
