/* Shared, zero-image-file editorial cover system.
 * A real photo fits inside its box; it is never stretched or cropped.
 * When no cleared photo exists, the cover is typography/CSS only. */
.c58-cover{--c58-cover-a:#173d52;--c58-cover-b:#9e5949;position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;aspect-ratio:16/10;overflow:hidden;text-align:center;text-decoration:none!important;background:linear-gradient(136deg,var(--c58-cover-a),var(--c58-cover-b));color:#fff!important;border-radius:0}
.c58-cover--palette-1{--c58-cover-a:#193c56;--c58-cover-b:#397d89}
.c58-cover--palette-2{--c58-cover-a:#542f46;--c58-cover-b:#ad6a55}
.c58-cover--palette-3{--c58-cover-a:#184d42;--c58-cover-b:#a88848}
.c58-cover--palette-4{--c58-cover-a:#523c60;--c58-cover-b:#69849d}
.c58-cover--palette-5{--c58-cover-a:#573735;--c58-cover-b:#a45e48}
.c58-cover::before{content:"";position:absolute;inset:9% 7%;z-index:0;border:1px solid rgba(255,255,255,.26);border-radius:1px;pointer-events:none}
.c58-cover::after{content:"";position:absolute;left:-12%;bottom:12%;width:124%;height:30%;border-top:1px solid rgba(255,255,255,.27);border-radius:50%;transform:rotate(-10deg);pointer-events:none}
.c58-cover-brand{position:relative;z-index:1;width:90%;max-width:100%;display:flex;flex-direction:column;gap:6px;align-items:center;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.18)}
.c58-cover-brand strong{font:900 clamp(22px,4vw,45px)/1.05 Georgia,serif;letter-spacing:-.035em;white-space:nowrap}
.c58-cover-brand span{font:800 clamp(9px,1.4vw,13px)/1.35 system-ui,sans-serif;letter-spacing:.045em;max-width:95%;overflow-wrap:anywhere}
.c58-cover-story{font:600 clamp(9px,1.13vw,13px)/1.34 system-ui,sans-serif;max-width:86%;max-height:3.95em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;color:#fff;opacity:.93;text-wrap:balance;letter-spacing:0;overflow-wrap:anywhere;border-top:1px solid rgba(255,255,255,.28);padding-top:6px;font-style:normal}
.c58-ed-topic .c58-cover-story,.c58-ed-rural .c58-cover-story{max-width:94%;font-size:10px;-webkit-line-clamp:2;line-clamp:2;max-height:3.15em}
@media(max-width:590px){.c58-ed-local-item .c58-cover-story{font-size:9px;line-height:1.2;-webkit-line-clamp:2;line-clamp:2;max-height:2.8em;padding-top:3px}}

.c58-cover-image{position:absolute;z-index:2;inset:0;display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#e4ebef;pointer-events:none}
/* The entire card cover, including its image and branded fallback, opens the article. */
article.post-card > a.c58-cover,article.c58-ed-card > a.c58-cover,.c58-featured-local-card > a.c58-cover{position:relative;z-index:3;cursor:pointer;pointer-events:auto;touch-action:manipulation}
article.post-card > a.c58-cover:focus-visible,article.c58-ed-card > a.c58-cover:focus-visible,.c58-featured-local-card > a.c58-cover:focus-visible{outline:3px solid #f1b73f;outline-offset:3px}
.c58-cover--article{min-height:230px;max-height:650px;aspect-ratio:16/10;border-radius:8px}
/* Exactly one visible layer at a time. An unloaded/broken remote photo
   reveals the brand fallback without placing lettering over a real photo. */
/* Editorial safety: no photo means a designed, honest cover, never a fake image.
   Brand palettes remain edition-specific; actual licensed photos hide this layer. */
.c58-cover:not(.c58-cover--has-image){
  background:linear-gradient(138deg,var(--c58-cover-a,#183e53) 0%,var(--c58-cover-b,#427b8d) 100%)!important;
  color:#fff!important;
}
.c58-cover:not(.c58-cover--has-image) .c58-cover-brand{
  visibility:visible!important;color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.32);
}
.c58-cover:not(.c58-cover--has-image) .c58-cover-brand :is(strong,span,em){
  color:#fff!important;
}
.c58-cover:not(.c58-cover--has-image)::before{
  border:1px solid rgba(255,255,255,.3)!important;
}
.c58-cover:not(.c58-cover--has-image):hover{
  filter:brightness(1.08);
}
.c58-cover--has-image .c58-cover-brand{visibility:hidden}
.c58-cover .c58-cover-image{position:absolute!important;inset:0!important;display:block!important;float:none!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border-radius:0!important;object-fit:contain!important;object-position:center!important;transform:none!important;z-index:2}
.c58-cover{contain:layout paint;overflow:hidden;min-width:0;max-width:100%;box-sizing:border-box}
.c58-cover .c58-cover-brand{min-width:0;max-width:100%;overflow:hidden}

.c58-remote-figure figcaption{font-size:12px;line-height:1.5;margin:8px 0 0;color:#536372}
.c58-remote-figure figcaption a{font-weight:700}
.c58-ed-photo.c58-cover{padding:0!important}
.c58-ed-photo.c58-cover .c58-cover-brand{padding:10px}
.c58-ed-photo.c58-cover .c58-cover-brand strong{font-size:clamp(21px,3.2vw,35px)}
.c58-ed-photo.c58-cover .c58-cover-brand span{font-size:clamp(9px,1.3vw,12px)}
@media(max-width:700px){.c58-cover-brand{gap:4px}.c58-cover-brand strong{font-size:clamp(18px,5vw,29px)}.c58-cover-brand span{font-size:clamp(9px,2.5vw,12px)}.c58-cover--article{min-height:170px}}
