/* Download a single editorial thumbnail only if the first visible deadline has a matching placement. */
.reader-newsroom .deadline-mobile-photo, .reader-newsroom .deadline-mobile-credit { display: none; }
@media (min-width: 320px) and (max-width: 430px) {
  .reader-newsroom .home-deadlines ol > li:nth-child(1 of :not([hidden])) .deadline-mobile-photo {
    float: right;
    display: block;
    width: clamp(72px,22vw,92px);
    aspect-ratio: 3 / 2;
    margin: 2px 0 5px 9px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .reader-newsroom .home-deadlines ol > li:nth-child(1 of :not([hidden])) [data-deadline-art="real-economy-singapore"] {
    background-image: url("/assets/img/photos/real-economy-singapore-480.webp?v=577c967b987b8142");
  }
  .reader-newsroom .home-deadlines ol > li:nth-child(1 of :not([hidden])) [data-deadline-art="real-alaska-aircraft"] {
    background-image: url("/assets/img/photos/real-alaska-aircraft-480.webp?v=64d8ab6cf69f3e8b");
  }
  .reader-newsroom .home-deadlines ol > li:nth-child(1 of :not([hidden])) .deadline-mobile-credit {
    display: block;
    clear: both;
    margin: 2px 0 0;
    color: #425b61;
    font: 400 .78rem/1.4 var(--sans);
  }
  .reader-newsroom .deadline-mobile-credit summary { width: fit-content; min-height:28px; padding:3px 0; box-sizing:border-box; align-content:center; cursor:pointer; }
  .reader-newsroom .deadline-mobile-credit summary:focus-visible { outline:2px solid #376c69; outline-offset:2px; }
  .reader-newsroom .deadline-mobile-credit p { margin:1px 0 0; }
  .reader-newsroom .deadline-mobile-credit a { color:inherit; text-underline-offset:2px; }
}

/* When scripting is available, let the provider-time clock select the first row
   before asking for its photo. A script-free page uses its published row order. */
@media (scripting: enabled) {
  .reader-newsroom .home-deadlines ol:not([data-deadline-clock-ready]) :is(.deadline-mobile-photo,.deadline-mobile-credit) {
    display: none !important;
    background-image: none !important;
  }
}
