/* California58 Local: a responsive newsroom that never allocates fake blank cards.
 * Scope is local editions only. Ads and existing specialized modules are retained.
 */
.c58l-paper .c58l-essentials {
  box-sizing:border-box;width:min(calc(100% - 28px),1140px);
  margin:22px auto 26px;padding:clamp(18px,2.5vw,28px);
  border:1px solid #c7d9e2;border-top:4px solid #18627d;border-radius:15px;
  color:#173646;background:#f7fbfc;color-scheme:light;
}
.c58l-paper .c58l-essentials * {box-sizing:border-box}
.c58l-paper .c58l-essentials__intro {
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:16px;flex-wrap:wrap;margin-bottom:18px
}
.c58l-paper .c58l-essentials__intro>div{flex:1 1 330px;min-width:0}
.c58l-paper .c58l-essentials__eyebrow {
  margin:0 0 6px!important;font:850 11px/1.5 system-ui,sans-serif!important;
  letter-spacing:.075em;color:#235973!important
}
.c58l-paper .c58l-essentials h2 {
  margin:0 0 10px!important;font:750 clamp(24px,3vw,34px)/1.17 Georgia,serif!important;
  color:#15394c!important
}
.c58l-paper .c58l-essentials__intro p:not(.c58l-essentials__eyebrow) {
  margin:0!important;font:450 14px/1.6 system-ui,sans-serif!important;
  color:#3e5867!important;max-width:74ch
}
.c58l-paper .c58l-essentials__submit {
  display:inline-flex;align-items:center;min-height:44px;padding:11px 14px;
  background:#164e66;color:white!important;border-radius:9px;
  font:750 13px/1.4 system-ui,sans-serif;text-decoration:none!important
}
.c58l-paper .c58l-essentials__official {
  margin:0 0 17px;padding:14px 17px;border:1px solid #bfd6df;
  border-left:4px solid #136b85;border-radius:10px;background:#fff;
}
.c58l-paper .c58l-essentials__official h3 {
  margin:0 0 8px!important;font:750 clamp(19px,2vw,24px)/1.25 Georgia,serif!important;
  color:#173c51!important
}
.c58l-paper .c58l-essentials__official ul{padding:0;margin:0;list-style:none}
.c58l-paper .c58l-essentials__official li{
  display:flex;justify-content:space-between;align-items:baseline;
  gap:6px 20px;flex-wrap:wrap;padding:7px 0;border-bottom:1px solid #e1e9ed
}
.c58l-paper .c58l-essentials__official li:last-child{border-bottom:0}
.c58l-paper .c58l-essentials__official li a{
  color:#075976!important;font:750 13px/1.45 system-ui,sans-serif!important;overflow-wrap:anywhere
}
.c58l-paper .c58l-essentials__official li span{
  color:#536876!important;font:500 12px/1.4 system-ui,sans-serif!important
}
.c58l-paper .c58l-essentials__official>p{
  margin:8px 0 0!important;color:#4b6778!important;
  font:400 12px/1.5 system-ui,sans-serif!important
}
.c58l-paper .c58l-essentials__grid {display:flex;flex-wrap:wrap;gap:12px}
.c58l-paper .c58l-essentials__card {
  flex:1 1 260px;min-width:min(100%,250px);padding:17px 18px;
  border:1px solid #d4e0e6;border-radius:11px;background:#fff;
  display:flex;flex-direction:column;gap:10px
}
.c58l-paper .c58l-essentials__card h3 {
  margin:0!important;font:750 clamp(18px,1.6vw,23px)/1.23 Georgia,serif!important;
  color:#173f54!important;overflow-wrap:anywhere
}
.c58l-paper .c58l-essentials__card p {
  margin:0!important;flex:1 1 auto;color:#405968!important;
  font:450 13px/1.55 system-ui,sans-serif!important;overflow-wrap:anywhere
}
.c58l-paper .c58l-essentials__links {
  display:flex;flex-wrap:wrap;gap:4px 15px;align-items:center
}
.c58l-paper .c58l-essentials__links a {
  display:inline-flex;align-items:center;min-height:38px;
  padding:5px 0;font:750 12px/1.4 system-ui,sans-serif!important;
  color:#075d80!important;text-decoration:underline;text-underline-offset:3px
}
.c58l-paper .c58l-essentials__fine {
  margin:13px 0 0!important;font:400 12px/1.5 system-ui,sans-serif!important;
  color:#516878!important
}
.c58l-paper .c58l-essentials :is(a,button):focus-visible{
  outline:3px solid #b17819!important;outline-offset:3px!important
}
/* Complete partially occupied rows instead of allocating an empty box. */
@media(min-width:1350px){
  .c58l-paper .c58l-stories>.c58l-story:last-child:nth-child(odd) {
    grid-column:1/-1;min-width:0
  }
}
.c58l-ridgecrest-news .c58rc-grid {
  display:flex!important;flex-wrap:wrap;align-items:stretch;gap:12px
}
.c58l-ridgecrest-news .c58rc-grid>.c58rc-item {
  flex:1 1 225px;min-width:min(100%,215px);width:auto
}
@media(max-width:760px){
 .c58l-paper .c58l-essentials{width:calc(100% - 22px);margin:15px 11px 21px;padding:16px 13px}
 .c58l-paper .c58l-essentials__intro{gap:11px}
 .c58l-paper .c58l-essentials__grid{gap:9px}
 .c58l-paper .c58l-essentials__card{flex:1 1 100%;min-width:0;padding:14px}
 .c58l-paper .c58l-essentials__links a{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.c58l-paper .c58l-essentials *{scroll-behavior:auto}}

/* Critical seasonal layout, emitted with the ordinary stylesheet in <head>.
   The existing WPCode holiday modules remain enabled. Their footer CSS/JS
   now finds an already-styled title, accent and banner, preventing late shifts. */
main.c58l-paper .c58-xmas-title{display:inline-block!important;position:relative!important;isolation:isolate}
main.c58l-paper .c58-xmas-title::after{content:"✦";position:absolute;right:-.72em;top:-.12em;font:700 .33em/1 Georgia,serif;color:#e2b85a;text-shadow:0 1px 2px rgba(0,0,0,.25);pointer-events:none}
main.c58l-paper .c58-xmas-title::before{content:"❄";position:absolute;right:-.55em;bottom:-.15em;font:400 .24em/1 Georgia,serif;color:#eaf8ff;text-shadow:0 1px 3px #0a4459;pointer-events:none}
main.c58l-paper .c58-xmas-accent{height:3px;max-width:100%;background:linear-gradient(90deg,transparent,#2e7959 22%,#c49b4d 50%,#a33741 78%,transparent);border-radius:99px;margin:9px 0 0;opacity:.8;pointer-events:none}
main.c58l-paper>.c58-holiday-note{max-width:1200px;margin:14px auto;padding:10px 17px;box-sizing:border-box;background:linear-gradient(100deg,#f6fbf8,#fff9f0)!important;border:1px solid #c9ded2;border-left:4px solid #9b3440!important;border-radius:9px;color:#173d30;font:600 13px/1.55 system-ui,sans-serif;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
main.c58l-paper>.c58-holiday-note strong{color:#14533b}
main.c58l-paper>.c58-holiday-note a{color:#12523d!important;text-decoration:underline!important;font-weight:800}
main.c58l-paper>.c58-holiday-note:focus-within{outline:2px solid #b17e23}
@media(max-width:650px){main.c58l-paper .c58-xmas-title::after{right:-.5em;top:-.22em}main.c58l-paper .c58-xmas-title::before{right:-.3em;bottom:-.12em}main.c58l-paper .c58-xmas-accent{margin-top:6px}}
@media(max-width:600px){main.c58l-paper>.c58-holiday-note{margin:10px 12px;padding:12px;gap:5px}}
@media(prefers-reduced-motion:reduce){main.c58l-paper .c58-xmas-title::before,main.c58l-paper .c58-xmas-title::after{animation:none!important}}

/* WPCode #24018 adds a 44px Ask Cali reopen button after DOM readiness.
   Reserve its exact height for ordinary local editions before the script runs.
   Colton and Los Angeles are explicitly excluded by the existing WPCode rule. */
@supports selector(:has(*)){
 main.c58l-paper:not(.c58l-colton-news):not(.c58l-los-angeles-news) .c58l-masthead:not(:has(.c58-local-cali-reopen))::after{
   content:"";display:block;height:44px;min-height:44px;pointer-events:none;
 }
}

/* Ridgecrest editorial cards, progressive rollout: other local editions.
 * Existing 179 QA newspapers retain their reviewed rules.
 * Do not synthesize media, crop text-bearing documents, or reserve blank photo slots.
 * Appended to the already-enqueued local CSS: no extra stylesheet request.
 */
.c58l-paper:not(.c58l-ridgecrest-qa) .c58l-stories>article.c58l-story{
  box-sizing:border-box;min-width:0;margin:0;
  padding:clamp(15px,1.8vw,22px);border:1px solid #d8e4e9;
  border-radius:12px;background:#fff;
}
.c58l-paper:not(.c58l-ridgecrest-qa) .c58l-stories>article.c58l-story:focus-within{
  outline:2px solid #c58b26;outline-offset:2px;
}
.c58l-paper:not(.c58l-ridgecrest-qa) .c58l-stories>article.c58l-story.no-image{
  display:flex!important;flex-direction:column;gap:7px;
}
.c58l-paper:not(.c58l-ridgecrest-qa) .c58l-stories .c58l-story-copy{
  min-width:0;width:100%;overflow-wrap:break-word;
}
.c58l-paper:not(.c58l-ridgecrest-qa) .c58l-story-copy h3{
  font-size:clamp(19px,2.15vw,27px)!important;
  line-height:1.24!important;overflow-wrap:break-word;
}
.c58l-paper:not(.c58l-ridgecrest-qa) .c58l-story-copy p{
  margin:0!important;line-height:1.6!important;
}
.c58l-paper:not(.c58l-ridgecrest-qa) .c58l-stories .c58l-story-image img:is(
  [alt*="poster" i],[alt*="flyer" i],[alt*="map" i],[alt*="infographic" i]
){
  object-fit:contain!important;background:#e5edf1!important;
}
@media(max-width:760px){
  .c58l-paper:not(.c58l-ridgecrest-qa) .c58l-stories>article.c58l-story{
    padding:17px!important;
  }
  .c58l-paper:not(.c58l-ridgecrest-qa) .c58l-story-copy h3{
    font-size:clamp(20px,5vw,27px)!important;
  }
}



