/* kēj: small additions for WordPress. The design itself lives in styles.css. */

/* Homepage "notes from the kiosk": cut-out photos (like the kiosk) sit on paper, whatever card they land in */
.story-kiosk:not(.story-contain) .story-media img { object-fit: cover; padding: 0; filter: saturate(0.7); }
.story-contain .story-media img { object-fit: contain; padding: 10% 8% 4%; filter: none; }

/* Story text written in the editor keeps the typewriter voice */
.sp-columns > * { margin: 0 0 1.1em; break-inside: avoid; }
.sp-columns img { max-width: 100%; height: auto; }
.pg-content > * + * { margin-top: 14px; }
.pg-content a, .pg-lead a { text-decoration: underline; text-underline-offset: 3px; }

/* WordPress images keep the design's cropping */
.story-media img, .st-media img, .sp-portrait img, .sp-panel-imgs img, .sp-c img, .sp-gallery img, .mp-img, .featured-media img { max-width: 100%; }

/* When logged in, the admin toolbar sits above the page */
.admin-bar .mp-side, .admin-bar .pg-chapter-side, .admin-bar .faq-side { top: calc(32px + 32px); }
.admin-bar .pages.is-pinned .pages-sticky { top: 32px; height: calc(100vh - 32px); }
@media (max-width: 782px) {
  .admin-bar .pages.is-pinned .pages-sticky { top: 46px; height: calc(100vh - 46px); }
}
