/* CA58 2026-11-23: mobile media/card layout contract.
   Shared statewide and local card images; no distorted thumbnails.
   Loaded after legacy mobile bundles and Customizer styles. */
.c58-cover--has-image{min-width:0;overflow:hidden}
/* A failed photo reveals the real article's branded fallback, not a broken-image glyph. */
html body a.c58-cover.c58-cover--broken-image{background:linear-gradient(135deg,var(--c58-cover-a,#183e53),var(--c58-cover-b,#427b8d))!important}
html body a.c58-cover.c58-cover--broken-image .c58-cover-brand{visibility:visible!important;display:flex!important;opacity:1!important}
html body a.c58-cover.c58-cover--broken-image > img.c58-cover-image{display:none!important}
html body .c58-app-promo__image[hidden],html body a.c58l-story-image[hidden]{display:none!important}
.c58-cover--has-image img.c58-cover-image,
.c58-news-card .c58-cover--has-image img,
.c58-ed-card .c58-cover--has-image img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center}
.c58-page-translator [hidden],.c58-page-translator button[hidden]{display:none!important}
html body:has(.c58-app-promo) .c58-app-launch-strip{display:none!important}
html body .c58-page-translator [role="status"]:empty{display:none!important}
@media(max-width:760px){
 /* All editorial listing photos fill their actual 16:9 frame, including News archives. */
 html body .posts-grid article.post-card > a.c58-cover--has-image,
 html body .c58-news-hub .post-card > a.c58-cover--has-image{
   display:block!important;width:100%!important;max-width:100%!important;height:auto!important;
   aspect-ratio:16/9!important;overflow:hidden!important;min-height:0!important;
 }
 html body .posts-grid article.post-card > a.c58-cover--has-image img.c58-cover-image,
 html body .c58-news-hub .post-card > a.c58-cover--has-image img.c58-cover-image{
   display:block!important;width:100%!important;height:100%!important;
   object-fit:cover!important;object-position:center!important;
 }
 html body .posts-grid article.post-card{min-width:0!important;overflow:hidden!important}
 html body .posts-grid article.post-card h2,
 html body .posts-grid article.post-card h2 a{
   overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;
 }
 html body.home .c58-featured-local-news .c58-featured-local-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 html body.home .c58-featured-local-news .c58-featured-local-card,
 html body.home .c58-featured-local-news .c58-featured-local-card--photo,
 html body.home .c58-featured-local-news .c58-featured-local-card--text{
  display:flex!important;flex-direction:column!important;grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;
  gap:0!important;padding:0!important;overflow:hidden!important;
 }
 html body.home .c58-featured-local-news .c58-featured-local-card--photo > a.c58-cover.c58-cover--has-image{
  display:block!important;flex:0 0 auto!important;width:100%!important;max-width:none!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;border-radius:0!important;aspect-ratio:16/9!important;
 }
 html body.home .c58-featured-local-news .c58-featured-local-card--photo > a.c58-cover.c58-cover--has-image img{
  display:block!important;width:100%!important;height:100%!important;
  min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
  object-fit:cover!important;object-position:center!important;
 }
 html body.home .c58-featured-local-news .c58-featured-local-card > a.c58-cover:not(.c58-cover--has-image){display:none!important}
 html body.home .c58-featured-local-news .c58-featured-local-card .c58-featured-local-copy{
  flex:1 1 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;
  align-self:stretch!important;padding:17px 18px!important;box-sizing:border-box!important;
 }
 html body.home .c58-featured-local-news .c58-featured-local-copy h2,
 html body.home .c58-featured-local-news .c58-featured-local-copy h2 a{
  font-size:clamp(21px,5.4vw,27px)!important;line-height:1.23!important;
  overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;
 }
 html body.home .c58-featured-local-news .c58-featured-local-copy h2 a{
  display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;
 }
 html body .c58-ed-most .c58-ed-popular-grid{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important;
  width:100%!important;max-width:100%!important;
 }
 html body .c58-ed-most .c58-ed-popular-item{display:block!important;min-width:0!important;max-width:100%!important}
 html body .c58-ed-most .c58-ed-popular-item > .c58-ed-card{
  display:flex!important;flex-direction:column!important;grid-template-columns:minmax(0,1fr)!important;
  align-items:stretch!important;width:100%!important;max-width:100%!important;
  min-height:0!important;height:auto!important;gap:0!important;padding:0!important;
 }
 html body .c58-ed-most .c58-ed-popular-item > .c58-ed-card > a.c58-ed-photo.c58-cover--has-image{
  display:block!important;flex:0 0 auto!important;width:100%!important;max-width:none!important;
  height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:16/9!important;
  margin:0!important;border-radius:0!important;
 }
 html body .c58-ed-most .c58-ed-popular-item > .c58-ed-card > a.c58-ed-photo.c58-cover--has-image img{
  width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;
  object-fit:cover!important;object-position:center!important;
 }
 html body .c58-ed-most .c58-ed-popular-item > .c58-ed-card > a.c58-ed-photo:not(.c58-cover--has-image){display:none!important}
 html body .c58-ed-most .c58-ed-popular-item > .c58-ed-card .c58-ed-copy{
  display:block!important;flex:1 1 auto!important;width:100%!important;max-width:100%!important;
  min-width:0!important;padding:18px!important;box-sizing:border-box!important;
 }
 html body .c58-ed-most .c58-ed-popular-item > .c58-ed-card .c58-ed-copy h3,
 html body .c58-ed-most .c58-ed-popular-item > .c58-ed-card .c58-ed-copy h3 a{
  display:block!important;margin-top:4px!important;font-size:clamp(20px,5.4vw,25px)!important;
  line-height:1.26!important;overflow-wrap:break-word!important;word-break:normal!important;
  hyphens:none!important;
 }
 /* Rank badge floats over photography only. On photo-less stories reserve
    dedicated space above the full-width headline; never overlap the title. */
 html body .c58-ed-most .c58-ed-popular-item:has(> .c58-ed-card > a.c58-ed-photo:not(.c58-cover--has-image)) > .c58-ed-card .c58-ed-copy{
  padding-top:60px!important;
 }
 html body .c58-ed-most .c58-ed-popular-item:has(> .c58-ed-card > a.c58-ed-photo:not(.c58-cover--has-image)) > .c58-ed-rank{
  top:13px!important;left:18px!important;
 }
 html body .c58-ed-most .c58-ed-rank{top:12px!important;left:12px!important;z-index:4!important}
 html body.home .c58-app-promo--hero{min-width:0!important;gap:13px!important;padding:22px 18px!important}
 html body.home .c58-app-promo--hero .c58-app-promo__image{
  display:block!important;width:min(44vw,150px)!important;height:auto!important;max-height:150px!important;
  aspect-ratio:1!important;object-fit:contain!important;
 }
 html body.home .c58-app-promo--hero .c58-app-promo__title{font-size:clamp(26px,7vw,36px)!important}
 html body.home .c58-home-news-top .c58-news-card>a.c58-cover--has-image{
  width:100%!important;height:auto!important;aspect-ratio:16/9!important;overflow:hidden!important
 }
 html body.home .c58-home-news-top .c58-news-card>a.c58-cover--has-image img{
  width:100%!important;height:100%!important;object-fit:cover!important
 }
 html body.home button.c58-cali-float,
 html body.home button.c58-global-cali-dismiss{display:none!important}
 html body.home button.c58-back-to-top{
  right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
  min-height:44px!important;min-width:44px!important;width:48px!important;height:48px!important;
 }
 html body .c58-page-translator--header{max-width:100%!important;min-width:0!important;gap:7px!important}
 html body .c58-page-translator--header select{max-width:100%!important;min-width:0!important}
 /* Local newsroom front pages share one predictable full-bleed photo frame. */
 html body.c58-local-newspaper-page .c58l-stories{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-width:0!important;
 }
 html body.c58-local-newspaper-page .c58l-stories article.c58l-story.has-image{
  display:flex!important;flex-direction:column!important;min-width:0!important;
  max-width:100%!important;overflow:hidden!important;
 }
 html body.c58-local-newspaper-page .c58l-stories article.c58l-story.has-image > a.c58l-story-image{
  display:block!important;flex:0 0 auto!important;width:100%!important;
  max-width:100%!important;min-height:0!important;height:auto!important;
  aspect-ratio:16/9!important;overflow:hidden!important;border-radius:0!important;
 }
 html body.c58-local-newspaper-page .c58l-stories article.c58l-story.has-image > a.c58l-story-image img{
  display:block!important;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:none!important;object-fit:cover!important;
  object-position:center!important;
 }
 html body.c58-local-newspaper-page .c58l-stories article.c58l-story > .c58l-story-copy{
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
 }
 html body.c58-local-newspaper-page .c58l-stories article.c58l-story > .c58l-story-copy h3,
 html body.c58-local-newspaper-page .c58l-stories article.c58l-story > .c58l-story-copy h3 a{
  overflow-wrap:break-word!important;word-break:normal!important;hyphens:none!important;
 }
 html body.home .c58-news-first__story h2,
 html body.home .c58-news-first__story h2 a{
  font-size:clamp(20px,5.3vw,25px)!important;line-height:1.3!important;
  overflow-wrap:break-word!important;word-break:normal!important;
 }
}
