/* California58 post CSS bundle, original source order preserved. */
/* === assets/css/cali-dialog-layout.css === */
/* Cali owns its colors and viewport; global light/dark rules must not recolor chat. */
body .cali-panel{position:fixed!important;inset:0 0 0 auto!important;display:flex!important;flex-direction:column;gap:8px;width:min(560px,100vw)!important;height:100vh;height:100dvh;max-height:100dvh;padding:18px 20px max(12px,env(safe-area-inset-bottom));overflow-y:auto!important;box-sizing:border-box;background:#10232f!important;color:#f1f5f9!important;color-scheme:dark;isolation:isolate}
body.admin-bar .cali-panel{top:32px!important;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px)}
body .cali-panel[hidden]{display:none!important}
body .cali-panel *{box-sizing:border-box;text-shadow:none!important}
body .cali-panel .cali-close{position:absolute;top:10px;right:12px;z-index:5;width:44px;min-height:44px;background:#fff!important;color:#10232f!important;border:1px solid #cbd5e1;border-radius:50%;padding:0;line-height:1;font-size:24px}
body .cali-panel .c58-cali-avatar{width:48px!important;height:48px!important;min-height:48px!important;max-height:48px!important;flex:0 0 48px!important;margin:0!important;align-self:flex-start;overflow:hidden}
body .cali-panel .c58-cali-avatar img{width:auto!important;height:48px!important;max-height:48px!important;max-width:100%!important;object-fit:contain!important}
body .cali-panel>.eyebrow{margin:0;color:#9ee7f5!important;font-size:11px;line-height:1.3}
body .cali-panel>#cali-title{margin:0;color:#fff!important;font-size:30px;line-height:1.1}
body .cali-panel>.cali-intro{margin:0;color:#d6e4ec!important;font-size:13px;line-height:1.4}
body .cali-panel>.cali-suggestions{display:flex;flex-wrap:wrap;margin:0;gap:6px}
body .cali-panel>.cali-suggestions button{padding:7px 10px;font-size:12px;background:#eaf5fa!important;color:#10232f!important;border:1px solid #b8d7e5;border-radius:16px}
body .cali-panel>.cali-chat{position:relative;display:flex;flex-direction:column;gap:12px;flex:1 1 220px;min-height:120px;max-height:none;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;margin:6px 0;padding:4px 5px 12px 0;scrollbar-gutter:stable}
body .cali-panel .cali-message{display:block!important;flex:0 0 auto;max-width:100%;height:auto!important;min-height:0;max-height:none!important;margin:0!important;padding:13px 15px!important;border-radius:14px;border:1px solid #496577;background:#213c4c!important;color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important;font-size:16px!important;line-height:1.6!important;white-space:pre-wrap!important;overflow-wrap:anywhere;overflow:visible!important;opacity:1!important;visibility:visible!important}
body .cali-panel .cali-message-user{margin-left:18px!important;background:#e2f3fa!important;color:#10232f!important;-webkit-text-fill-color:#10232f!important;border-color:#a9cfdf}
body .cali-panel .cali-results{display:grid;gap:8px;flex:0 0 auto}
body .cali-panel .cali-result{display:block;padding:11px 13px!important;background:#163344!important;border:1px solid #547c91;border-radius:10px;color:#fff!important;text-decoration:none;overflow-wrap:anywhere}
body .cali-panel .cali-result strong{display:block;color:#b5edff!important;font-size:14px;line-height:1.4}
body .cali-panel .cali-result span{display:block;color:#e0eaf0!important;font-size:13px;line-height:1.45;margin-top:4px}
body .cali-panel>#cali-form{flex:0 0 auto;margin:0}
body .cali-panel>#cali-form label{display:block;margin:0 0 5px;color:#fff!important;font-size:14px}
body .cali-panel .cali-search-row{display:grid!important;grid-template-columns:44px minmax(0,1fr) 58px;align-items:end;gap:7px;margin:0;padding:8px;background:#0c1a23!important;border:1px solid #648599;border-radius:14px}
body .cali-panel #cali-search{display:block;width:100%!important;min-width:0!important;height:96px!important;min-height:96px;max-height:180px;resize:vertical;padding:9px!important;border:1px solid #668394!important;border-radius:8px;background:#fff!important;color:#10232f!important;-webkit-text-fill-color:#10232f!important;caret-color:#10232f!important;font:16px/1.5 system-ui!important;white-space:pre-wrap;overflow-y:auto;opacity:1!important}
body .cali-panel #cali-search::placeholder{color:#536879!important;-webkit-text-fill-color:#536879!important;opacity:1}
body .cali-panel .cali-search-row button{min-height:44px;padding:8px!important;background:#def3ff!important;color:#10232f!important;-webkit-text-fill-color:#10232f!important;border:1px solid #9dc4d8;border-radius:8px;font-size:13px}
body .cali-panel .cali-search-row button[type="submit"]{background:#ffd166!important;color:#10232f!important;-webkit-text-fill-color:#10232f!important;border:2px solid #ffde94!important;font-weight:800!important;box-shadow:0 0 0 1px #10232f}
body .cali-panel .cali-auto-send{display:flex;align-items:center;gap:7px;width:100%;font-size:12px;line-height:1.4;color:#edf8ff}
body .cali-panel .cali-auto-send input{appearance:auto!important;width:18px!important;height:18px!important;accent-color:#ffd166}
body .cali-panel .cali-voice-status{padding:6px 9px;border-left:3px solid #ffd166;background:#163748}
body .cali-panel .cali-search-row button:disabled{background:#b2c2cc!important;color:#263c48!important;opacity:1}
body .cali-panel .cali-mic.listening{background:#fecaca!important;color:#641717!important}
body .cali-panel>.cali-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;flex:0 0 auto;margin:0}
body .cali-panel>.cali-actions button,body .cali-panel>.cali-actions a{font-size:13px!important;line-height:1.3}
body .cali-panel>.cali-actions button{min-height:40px;padding:8px 11px;background:#e3f5ff!important;color:#10232f!important;border:1px solid #aecfdf;border-radius:8px}
body .cali-panel>.cali-actions button:disabled{background:#9eafb9!important;color:#223a48!important;opacity:1}
body .cali-panel>.cali-actions a{color:#b8edff!important;text-decoration:underline}
body .cali-panel .cali-voice-status{flex:0 0 auto;margin:0;color:#d8edf7!important;font-size:13px;line-height:1.4}
body .cali-panel .cali-voice-status:empty{display:none}
body .cali-panel .cali-language{display:flex;align-items:center;gap:6px;color:#e3f0f7;font-size:12px}
body .cali-panel .cali-language select{min-height:40px;background:#fff!important;color:#10232f!important;border:1px solid #b4c9d4;border-radius:7px;padding:5px;font-size:13px}
body .cali-panel>.cali-note{flex:0 0 auto;margin:0;color:#c6d7e1!important;font-size:11px;line-height:1.4}
body .cali-panel .cali-message a.cali-inline-source{color:#a8e8ff!important;-webkit-text-fill-color:#a8e8ff!important;text-decoration:underline!important;text-underline-offset:3px;overflow-wrap:anywhere}
body .cali-panel .cali-show-answer{flex:0 0 auto;align-self:flex-start;min-height:36px;padding:6px 10px;border:1px solid #93c5d9;border-radius:8px;background:#def3ff!important;color:#10232f!important;-webkit-text-fill-color:#10232f!important;font-size:13px}
body .cali-panel :focus-visible{outline:3px solid #f7c75e!important;outline-offset:2px}
@media(max-width:782px){body.admin-bar .cali-panel{top:46px!important;height:calc(100dvh - 46px);max-height:calc(100dvh - 46px)}}
@media(max-width:520px){body .cali-panel{width:100%!important;padding:12px}.cali-panel .cali-intro{font-size:12px!important}}
@media(max-height:700px){body .cali-panel .c58-cali-avatar,body .cali-panel>.eyebrow,body .cali-panel>.cali-intro{display:none!important}body .cali-panel>#cali-title{font-size:26px}body .cali-panel>.cali-chat{flex-basis:140px;min-height:100px}body .cali-panel #cali-search{height:78px!important;min-height:78px}}


/* Cali: a conversation with the California58 bear. */
body .cali-panel{background:#112c36!important;gap:12px;padding:24px!important}
body .cali-panel .cali-persona{display:flex;align-items:center;gap:18px;flex:0 0 auto;padding-right:35px}
body .cali-panel .cali-persona .c58-cali-avatar{display:block!important;width:84px!important;height:94px!important;min-height:94px!important;max-height:94px!important;flex:0 0 84px!important}
body .cali-panel .cali-persona .c58-cali-avatar img{height:94px!important;max-height:94px!important;width:auto!important;object-fit:contain}
body .cali-panel .cali-kicker{margin:0 0 5px;color:#a5cece!important;font-size:10px;line-height:1.5;letter-spacing:.08em}
body .cali-panel .cali-identity h2{color:#fff8e9!important;margin:0!important;font-size:38px;line-height:1.1}
body .cali-panel .cali-welcome-sub{color:#d8e7e5!important;margin:6px 0 0;font-size:14px;line-height:1.4}
body .cali-panel>.cali-chat{flex-basis:300px;min-height:150px;padding:6px 5px 12px 0;gap:16px}
body .cali-panel .cali-message-guide{background:#1c3d47!important;border:1px solid #355d66!important;border-radius:18px 18px 18px 4px;padding:16px!important}
body .cali-panel .cali-message-user{background:#f1e8d5!important;border:1px solid #cbbd9e!important;border-radius:18px 18px 4px 18px}
body .cali-panel>.cali-suggestions button{background:transparent!important;color:#e0eeeb!important;border:1px solid #597981;border-radius:999px;padding:8px 12px;font-weight:500}
body .cali-panel .cali-search-row{grid-template-columns:44px minmax(0,1fr) 76px!important;background:#0d222a!important;border-color:#50737d}
body .cali-panel #cali-search{height:82px!important;min-height:82px;border:0!important;background:#fffaf0!important;color:#152c35!important;border-radius:10px}
body .cali-panel .cali-actions{gap:10px}
body .cali-panel .cali-actions button{border-radius:999px!important;padding:9px 17px!important;font-weight:600;background:#f2e5c8!important;border-color:#e5d2a5}
body .cali-panel .cali-actions button.cali-conversation{background:#ffd166!important}
body .cali-panel .cali-actions button:disabled{display:none}
body .cali-panel .cali-secondary{display:flex;gap:18px;flex-wrap:wrap;align-items:flex-start;flex:0 0 auto;font-size:12px;color:#c0d3d3;line-height:1.5}
body .cali-panel .cali-secondary>details{flex:1 1 120px;min-width:0}
body .cali-panel .cali-secondary summary{cursor:pointer;color:#c0d3d3;padding:4px 0}
body .cali-panel .cali-secondary a{color:#c0d3d3!important;padding:4px 0}
body .cali-panel .cali-about p{font-size:12px;color:#dce8e7;line-height:1.6;margin:8px 0}
body .cali-panel .cali-preference-body{display:grid;gap:12px;padding:12px 0}
body .cali-panel .cali-audio-player{width:100%;height:42px;flex:0 0 42px;margin:0;border-radius:12px;color-scheme:light}
body .cali-panel .cali-audio-player[hidden]{display:none!important}
body .cali-panel .cali-audio-note{font-size:12px!important;line-height:1.5!important;color:#c0d3d3!important;margin:0!important}
body .cali-panel .cali-preferences[open]{flex-basis:100%!important}
body .cali-panel .cali-preference-body .cali-language{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:100%;color:#dce8e7!important}
body .cali-panel .cali-preference-body select{width:100%;max-width:340px;min-height:42px;font-size:14px;background:#fff;color:#182b33;border-radius:8px}


body .cali-panel .cali-auto-send{color:#dce8e7!important;white-space:normal}
body .cali-panel .cali-source-drawer{flex:0 0 auto;border:1px solid #355d66;border-radius:12px;padding:10px 12px;color:#c6e4e3;font-size:13px}
body .cali-panel .cali-source-drawer summary{cursor:pointer;font-weight:600}
body .cali-panel .cali-source-drawer .cali-results{margin-top:10px}
body .cali-panel .cali-voice-status{border:0;background:transparent;padding:0;color:#c0dfd8!important;font-size:13px}
@media(max-height:700px){body .cali-panel{padding:14px!important;gap:8px}body .cali-panel .cali-persona .c58-cali-avatar{height:64px!important;min-height:64px!important;max-height:64px!important;flex-basis:64px!important}body .cali-panel .cali-persona .c58-cali-avatar img{height:64px!important;max-height:64px!important}body .cali-panel .cali-identity h2{font-size:30px}body .cali-panel .cali-kicker{display:none}}
@media(max-width:520px){body .cali-panel{padding:16px!important}}


/* === assets/css/mobile-article-repair.css === */
/*
 * California58 mobile article repair — staged, NOT live.
 * Load AFTER main.css and other editorial CSS. Do not solve overflow by hiding body overflow.
 */
@media (max-width: 760px) {
  body.single .article-body table.c58-readable-table,
  body.single :is(.entry-content,.post-content) table.c58-readable-table,
  .article-body div[style*="overflow-x:auto"] > table.c58-readable-table {
    display:block !important;
    box-sizing:border-box !important;
    width:100% !important; min-width:0 !important; max-width:100% !important;
    margin:20px 0 !important; overflow:visible !important;
    border:0 !important; border-radius:0 !important; background:transparent !important;
  }
  .article-body div[style*="overflow-x:auto"]:has(>table.c58-readable-table) {
    overflow:visible !important; width:100% !important; max-width:100% !important;
    border:0 !important; background:transparent !important;
  }
  .article-body div[style*="overflow-x:auto"]:has(>table.c58-readable-table)::before { content:none !important; display:none !important; }
  body .article-body table.c58-readable-table thead,
  body :is(.entry-content,.post-content) table.c58-readable-table thead {
    position:absolute !important; height:1px !important; width:1px !important;
    overflow:hidden !important; clip-path:inset(50%) !important; white-space:nowrap !important;
  }
  body :is(.article-body,.entry-content,.post-content) table.c58-readable-table tbody {
    display:block !important; width:100% !important; min-width:0 !important;
  }
  body :is(.article-body,.entry-content,.post-content) table.c58-readable-table tbody tr {
    display:block !important; box-sizing:border-box !important; width:100% !important;
    min-width:0 !important; margin:0 0 13px !important; padding:0 !important;
    border:1px solid #d6e2e8 !important; border-radius:10px !important; background:#fff !important;
    overflow:hidden !important; box-shadow:0 2px 6px rgba(15,37,48,.06) !important;
  }
  body :is(.article-body,.entry-content,.post-content) table.c58-readable-table tbody td {
    display:block !important; box-sizing:border-box !important;
    width:100% !important; min-width:0 !important; max-width:none !important;
    margin:0 !important; padding:11px 15px !important;
    border:0 !important; border-bottom:1px solid #e9eef1 !important;
    font-size:16px !important; line-height:1.55 !important;
    text-align:left !important; overflow-wrap:anywhere !important;
    word-break:normal !important; white-space:normal !important; height:auto !important;
  }
  body :is(.article-body,.entry-content,.post-content) table.c58-readable-table tbody td:last-child {
    border-bottom:0 !important;
  }
  body :is(.article-body,.entry-content,.post-content) table.c58-readable-table tbody td::before {
    content:attr(data-c58-label) !important; display:block !important;
    margin:0 0 5px !important; color:#27516c !important;
    font:750 12px/1.4 system-ui,-apple-system,sans-serif !important;
    text-transform:uppercase !important; letter-spacing:.035em !important;
  }
  :is(.article-body,.entry-content,.post-content) .c58-ig-embed-shell {
    display:block !important; width:100% !important; max-width:100% !important;
    overflow:visible !important; padding:0 !important; margin:18px auto !important;
  }
  .c58-ig-embed-shell blockquote.instagram-media,
  .c58-ig-embed-shell iframe.instagram-media-rendered {
    max-width:100% !important; min-width:0 !important; box-sizing:border-box !important;
  }
  .c58-ig-embed-shell iframe.instagram-media-rendered { display:block !important; max-width:100% !important; /* Instagram SDK owns iframe height: never force auto, initial or 0. */ }
}
/* Persist a real source link if Meta prevents the embed from loading; don't impersonate or rehost content. */
.c58-ig-embed-shell .c58-ig-source-link {display:block;margin:8px 0 0;color:#135879;text-decoration:underline;font:650 13px/1.5 system-ui,sans-serif}
.c58-ig-embed-shell .c58-ig-source-link:focus-visible {outline:3px solid #e8a53a;outline-offset:3px}

/* Only display a compact source fallback when Instagram actually blocks the embed. */
.c58-ig-embed-shell .c58-ig-fallback[hidden] {display:none!important}
.c58-ig-embed-shell .c58-ig-fallback:not([hidden]) {display:block;margin:10px 0 20px;font:600 13px/1.5 system-ui,sans-serif}

/* Reader preference: keep only the compact Top control available during article scrolling.
 * Cali dismiss is handled separately; Top must remain fixed and independent.
 */
@media (max-width:760px) {
  html body.single button.c58-back-to-top {
    position:fixed!important;display:block!important;
    right:calc(10px + env(safe-area-inset-right,0px))!important;
    bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
    left:auto!important;top:auto!important;
    width:46px!important;min-width:46px!important;max-width:46px!important;
    height:46px!important;min-height:46px!important;
    padding:0!important;margin:0!important;z-index:89!important;
    border-radius:50%!important;
    background:#102f42!important;color:#fff!important;
    box-shadow:0 2px 10px rgba(4,29,45,.2)!important;
  }
  html body.single button.c58-back-to-top:not(.is-visible) {
    opacity:0!important;pointer-events:none!important;
  }
  html body.single button.c58-back-to-top.is-visible {
    opacity:1!important;transform:none!important;pointer-events:auto!important;
  }
}


/* === assets/css/mobile-readability-2026.css === */
/* News thumbnail treatment: consistent crops without distortion. */
body :is(.post-card,.c58l-story,.c58-news-card,.c58-ed-card) img{
 max-width:100%;height:auto;display:block;
}
body :is(.post-card,.c58l-story,.c58-news-card,.c58-ed-card) :is(.post-card-image,.c58l-story-image,.c58-news-card-image) img{
 width:100%;aspect-ratio:16/9;object-fit:cover;
}

/* California58 | October 23 2026 mobile editorial readability layer.
 * Scoped, high-contrast, no hidden copy or artificial overflow clipping.
 * Review against longread, statewide articles, newspaper cards and 360px devices.
 */
@media (max-width:760px) {
  html body :is(.article-body,.entry-content,.post-content) {
    font-size:clamp(17px,4.55vw,19px)!important;
    line-height:1.72!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }
  html body :is(.article-body,.entry-content,.post-content) > p,
  html body :is(.article-body,.entry-content,.post-content) li {
    line-height:1.72!important;
    letter-spacing:0!important;
  }
  html body :is(.article-body,.entry-content,.post-content) :is(h2,h3,h4) {
    opacity:1!important;
    text-shadow:none!important;overflow-wrap:break-word!important;
    word-break:normal!important;line-height:1.25!important;
  }
  html body :is(.article-body,.entry-content,.post-content) h2 {
    font-size:clamp(25px,6.5vw,32px)!important;
  }
  html body :is(.article-body,.entry-content,.post-content) h3 {
    font-size:clamp(21px,5.5vw,26px)!important;
  }
  html body :is(.article-body,.entry-content,.post-content) a {
    text-decoration:underline!important;text-underline-offset:.14em!important;
    font-weight:600;overflow-wrap:anywhere;
  }
  html body :is(.article-body,.entry-content,.post-content) :is(figcaption,.wp-caption-text) {
    color:#354d5c!important;font:500 14px/1.6 system-ui,-apple-system,sans-serif!important;
    opacity:1!important;
  }
  html body :is(.article-body,.entry-content,.post-content) :is(small,.c58-content-meta) {
    font-size:max(13px,.82rem)!important;line-height:1.55!important;
  }
  html body .c58-ed-section .c58-ed-card .c58-ed-copy :is(.c58-ed-meta,.c58-ed-source) {
    font-size:max(13px,.82rem)!important;line-height:1.5!important;
    color:#344f5e!important;opacity:1!important;
  }
  html body .c58-ed-section .c58-ed-card .c58-ed-copy :is(p,small,span) {
    overflow-wrap:break-word!important;word-break:normal!important;
  }
  html body .c58-ed-section .c58-ed-card .c58-ed-copy h3,
  html body .c58-ed-section .c58-ed-card .c58-ed-copy h3 a {
    color:#0c2c40!important;text-decoration:none;
    text-shadow:none!important;opacity:1!important;
  }
  html body .c58-ed-section .c58-ed-card .c58-ed-copy h3 a:focus-visible,
  html body :is(.article-body,.entry-content,.post-content) a:focus-visible {
    outline:3px solid #d99517!important;outline-offset:3px!important;
  }
  html body .c58l-paper :is(.c58l-tagline,.c58l-coverage) {
    color:#263f50!important;line-height:1.55!important;
    font-size:clamp(14px,3.8vw,17px)!important;opacity:1!important;
  }
  /* An authentic embedded photograph/reel belongs in a free-flowing frame.
   * Legacy hard-coded 600px iframe and overflow:hidden cropped the lower part.
   * The primary source link remains available even when Meta refuses to embed.
   */
  html body.c58-searles-longread .c58-ig-frame {
    overflow:visible!important;max-width:100%!important;
    box-sizing:border-box!important;
  }
  html body.c58-searles-longread .c58-ig-frame iframe[src*="/p/"] {
    height:760px!important;max-width:100%!important;
  }
  html body.c58-searles-longread .c58-ig-frame iframe[src*="/reel/"] {
    height:1000px!important;max-width:100%!important;
  }
  html body.c58-searles-longread .c58-ig-frame figcaption {
    background:#f5f8fa!important;color:#263c4a!important;
    font:600 14px/1.5 system-ui,sans-serif!important;
  }
}
/* All widths: every contextual link must be visibly identifiable. */
html body a.c58-contextual-edition-link,
html body a.c58-contextual-story-link {
  color:inherit!important;text-decoration:underline!important;
  text-decoration-thickness:1.5px!important;text-underline-offset:3px!important;
  font-weight:650!important;
}
html body :is(a.c58-contextual-edition-link,a.c58-contextual-story-link):focus-visible {
  outline:3px solid #d99517!important;outline-offset:3px!important;
}
/* Mobile uses the same component foreground/surface pairing as desktop.
   Typography and touch-target rules must not repaint light cards in dark mode. */

/* === assets/css/mobile-accessibility-polish.css === */
/*
 * California58 accessibility refinements — Oct 25 2026.
 * Focus: 44px coarse-pointer targets, readable controls and visible keyboard focus.
 * No external dependencies, no animation, no obstruction of article content.
 */
@media (max-width: 760px), (pointer: coarse) {
  .site-header .menu-toggle,
  .site-header .menu-more-toggle,
  .site-header .header-tools a,
  .site-header .header-tools button,
  .site-header .primary-nav a,
  .c58-ed-nav-inner > a,
  .c58-featured-local-news .section-head-row > .text-link,
  .c58-featured-local-news .section-head-row .text-link,
  .c58ls-share__menu summary,
  .c58-donate-top a,
  .c58-support__details summary,
  button[data-back-to-top] {
    min-height: 44px !important;
    min-width: 44px;
    box-sizing: border-box;
  }
  .site-header .header-tools a,
  .site-header .header-tools button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-footer .social-links a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .site-footer nav a,
  .site-footer .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 9px;
  }
  .c58-ed-nav-inner > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .c58l-primary-nav a, .c58l-secondary-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
:where(.site-header,.site-footer,.c58ls-share,.c58-ed-nav,.c58-support) :is(a,button,summary):focus-visible {
  outline: 3px solid #dc9115 !important;
  outline-offset: 3px !important;
}
/* WCAG contrast on the LINKERNO partner banner: its golden gradient used to
   leave the call-to-action with almost white-on-gold contrast. Keep the
   existing advertisement, disclosure and layout; darken the CTA surface. */
html body .c58-linkerno-banner .c58-linkerno-banner__cta {
  background: #073449 !important;
  border-color: #e6f8fc !important;
  color: #fff !important;
}
html body .c58-linkerno-banner:hover .c58-linkerno-banner__cta,
html body .c58-linkerno-banner:focus-visible .c58-linkerno-banner__cta {
  background: #fff !important;
  color: #073449 !important;
}
html:not([data-theme="dark"]) .c58-ed-section .c58-ed-copy .c58-ed-meta,
html:not([data-theme="dark"]) .c58-ed-section .c58-ed-copy .c58-ed-source {
  color: #334e5d;
}
/* Footer and editorial shortcuts must be usable without pixel-perfect taps. */
@media (max-width: 760px), (pointer: coarse) {
  .site-footer .footer-grid p:not(.social-links) > a:not(.brand) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 10px;
    box-sizing: border-box;
  }
  .site-footer .footer-grid a.footer-brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .c58-ed-section .section-head-row > a.text-link,
  .c58-ed-topic-head > a,
  .c58-ed-paper,
  .c58-ed-guides > a,
  .c58-featured-local-news .section-head-row a.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px !important;
    padding-block: 10px;
    box-sizing: border-box;
  }
  .c58-ed-section .c58-ed-copy h3 a {
    line-height: 1.35;
    overflow-wrap: break-word;
  }
}
/* Raise contrast of editorial metadata on the light cards without changing links
   or the palette within images and licensed photographs. */
html:not([data-theme="dark"]) body .c58-ed-card .c58-ed-meta,
html:not([data-theme="dark"]) body .c58-ed-card .c58-ed-kicker,
html:not([data-theme="dark"]) body .c58-ed-topic .c58-ed-paper {
  color: #23475b !important;
}
/* Accessible touch targets on article navigation, without altering inline source links.
   Keep long related-story titles readable, and never move or hide article content. */
@media (max-width: 760px), (pointer: coarse) {
  html body.single-post .article-head .article-meta a,
  html body.single-post .article-body .c58-article-rail li > a,
  html body.single-post .c58-local-more-home,
  html body.single-post .c58-news-footer-tools .c58-story-actions button {
    display: inline-flex;
    align-items: center;
    min-height: 44px !important;
    box-sizing: border-box;
  }
  html body.single-post .article-body .c58-article-rail li > a {
    display: flex !important;
    width: 100%;
    padding: 10px 2px !important;
    line-height: 1.5;
    white-space: normal;
  }
  html body.single-post .c58-reader-voice-controls select {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .c58-linkerno-banner:before { animation: none !important; }
}


/* === assets/css/article-wide-editorial.css === */
/* California58 responsive article canvas — draft only. */
/* Article media: respect editorial aspect ratio, prevent image overflow at every width. */
body.single-post .article-image :is(img,picture),
body.single-post .article-body :is(img,figure img){
  max-width:100%!important;height:auto!important;display:block;
}
body.single-post .article-body :is(figure,.wp-block-image){max-width:100%!important}
body.single-post .article-image img{width:100%;object-fit:contain}
@media(max-width:700px){
  body.single-post .article-body figure{width:100%!important;margin-inline:auto!important}
  body.single-post .article-image img{max-width:100%!important;height:auto!important}
}

@media(min-width:1100px){
 body.single-post .article-head.wrap-narrow{width:min(calc(100% - 80px),1280px)!important;max-width:1280px!important;margin-inline:auto}
 body.single-post .article-image.wrap{width:min(calc(100% - 80px),1280px)!important;max-width:1280px!important;margin-inline:auto}
 body.single-post .article-body.wrap-narrow{
   width:min(calc(100% - 80px),1280px)!important;
   max-width:1280px!important;
   margin-inline:auto!important;
   display:grid!important;
   grid-template-columns:minmax(0,790px) minmax(270px,320px);
   column-gap:clamp(32px,4vw,64px);
   align-items:start;
   justify-content:center;
 }
 body.single-post .article-body.wrap-narrow>*:not(.c58-article-rail){
   grid-column:1;
   min-width:0;
   max-width:100%;
 }
 body.single-post .article-body.wrap-narrow>.c58-article-rail{
   grid-column:2;
   grid-row:1 / span 50;
   width:100%;
   position:sticky;
   top:24px;
   align-self:start;
 }
 body.single-post .article-body.wrap-narrow>p,
 body.single-post .article-body.wrap-narrow>ul,
 body.single-post .article-body.wrap-narrow>ol,
 body.single-post .article-body.wrap-narrow>h2,
 body.single-post .article-body.wrap-narrow>h3{
   width:100%!important;
   max-width:100%!important;
 }
}
.c58-article-rail{border:1px solid #dbe4e9;border-radius:12px;background:#fafcfd;padding:20px;min-width:0;font-family:system-ui,sans-serif;font-size:15px;line-height:1.45}
.c58-article-rail h2{font:700 19px/1.3 Georgia,serif;margin:0 0 14px;color:#193448}
.c58-article-rail h3{font:700 14px/1.4 system-ui,sans-serif;margin:22px 0 9px;color:#193448}
.c58-article-rail ul{list-style:none;margin:0;padding:0}
.c58-article-rail li{padding:11px 0;border-bottom:1px solid #dbe4e9}
.c58-article-rail li:last-child{border-bottom:0}
.c58-article-rail a{color:#135775;text-decoration:none;font-weight:650;overflow-wrap:anywhere}
.c58-article-rail a:hover,.c58-article-rail a:focus-visible{text-decoration:underline}
@media(max-width:1099px){
 body.single-post .article-body.wrap-narrow{width:min(calc(100% - 36px),790px);max-width:790px;margin-inline:auto}
 .c58-article-rail{margin:26px 0}
}
@media(max-width:600px){
 body.single-post .article-head.wrap-narrow,
 body.single-post .article-body.wrap-narrow{width:100%!important;max-width:100%!important;padding-inline:18px;box-sizing:border-box}
 body.single-post .article-image.wrap{max-width:100%}
 body.single-post .article-body img,
 body.single-post .article-body iframe{max-width:100%}
 .c58-article-rail{padding:16px}
}
/* Final editorial polish: restrained headline scale and resilient mobile typography. */
@media(min-width:1100px){
 body.single-post .article-head h1{font-size:clamp(42px,5.1vw,72px)!important;line-height:1.07!important;letter-spacing:-.025em;overflow-wrap:break-word}
 body.single-post .article-body.wrap-narrow>.c58-article-rail{max-height:calc(100vh - 48px);overflow-y:auto;overscroll-behavior:contain}
}
@media(max-width:1099px){
 body.single-post .article-head h1{font-size:clamp(34px,6vw,62px)!important;line-height:1.1!important;overflow-wrap:anywhere}
}
@media(max-width:600px){
 body.single-post .article-head h1{font-size:clamp(30px,8.5vw,42px)!important;line-height:1.12!important;letter-spacing:-.015em}
 body.single-post .article-body{overflow-wrap:break-word}
 body.single-post .article-body table{display:block;max-width:100%;overflow-x:auto}
 body.single-post .article-body pre{max-width:100%;overflow-x:auto}
 body.single-post .article-body .c58-article-rail{width:100%;box-sizing:border-box}
}
/* Keep optional post-story services visually distinct from the newsroom copy. */
body.single-post .c58-post-story-service{margin:28px 0 20px;clear:both}
body.single-post .c58-post-story-service>*{max-width:100%}
body.single-post .c58-featured-figure img{height:auto;max-width:100%;object-fit:cover}
body.single-post .c58-featured-credit{font-size:12px;line-height:1.5;color:#51616b}
@media(max-width:600px){
 body.single-post .c58-featured-figure{margin-block:12px 18px}
 body.single-post .c58-featured-figure img{width:100%;height:auto}
}
/* Sponsored links remain available without overwhelming the reporting. */
body.single-post .c58-local-article-ads{max-width:100%;margin-block:28px!important;padding-block:18px!important}
body.single-post .c58-local-article-ads-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.single-post .c58-local-article-ads-grid a{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px!important;padding:10px!important;min-height:0!important;box-sizing:border-box}
body.single-post .c58-local-article-ads-grid a img{display:block!important;width:100%!important;height:90px!important;min-height:0!important;max-height:90px!important;object-fit:contain!important}
body.single-post .c58-local-article-ads-grid .c58-sponsor-name,
body.single-post .c58-local-article-ads-grid .c58-sponsor-name strong{font-size:14px!important;line-height:1.3!important}
body.single-post .c58-local-article-ads-grid .c58-sponsor-name small{font-size:11px!important;line-height:1.3!important}
@media(max-width:420px){
 body.single-post .c58-local-article-ads-grid{grid-template-columns:1fr!important}
 body.single-post .c58-local-article-ads-grid a{flex-direction:row!important;text-align:left!important;gap:12px!important}
 body.single-post .c58-local-article-ads-grid a img{width:110px!important;max-width:40%!important;height:75px!important}
}
@media(prefers-reduced-motion:reduce){body.single-post .c58-article-rail{scroll-behavior:auto}}
/* Draft: stronger readable metadata contrast on the light article canvas.
 * Does not override user-selected dark mode. */
html:not([data-theme="dark"]) body.single-post .article :is(.article-meta,.c58-featured-credit,.c58-local-ads-label,.c58-local-article-masthead-kicker){color:#324b5c!important}
html:not([data-theme="dark"]) body.single-post .article-body :is(figcaption,small,.wp-caption-text){color:#354b5a}
body.single-post .article :is(a,button):focus-visible{outline:3px solid #a66c15!important;outline-offset:3px}
@media(max-width:760px){body.single-post .article-body.wrap-narrow{min-width:0!important;overflow-wrap:anywhere}body.single-post .article-body.wrap-narrow :is(table,pre,iframe,video){max-width:100%!important}}

@media print{
 .c58-article-rail{display:none!important}
 body.single-post .article-body.wrap-narrow{display:block!important;width:100%!important;max-width:100%!important}
}
/* Full-page editorial coverage without hiding the actual story below related links. */
@media(min-width:1550px){
  body.single-post .article-head.wrap-narrow,
  body.single-post .article-image.wrap{width:min(calc(100% - 88px),1480px)!important;max-width:1480px!important}
  body.single-post .article-body.wrap-narrow{
    width:min(calc(100% - 88px),1480px)!important;max-width:1480px!important;
    grid-template-columns:minmax(0,930px) minmax(300px,360px)!important;
    column-gap:clamp(36px,4.5vw,76px)!important;
  }
}
@media(min-width:761px) and (max-width:1099px){
  body.single-post .article-head.wrap-narrow,
  body.single-post .article-body.wrap-narrow{
    width:min(calc(100% - 48px),1010px)!important;
    max-width:1010px!important;
    margin-inline:auto!important;
  }
}
/* On phone and tablet, the report is FIRST; related links and promotions are AFTER. */
@media(max-width:1099px){
  body.single-post .article-body.wrap-narrow{display:flex!important;flex-direction:column;align-items:stretch}
  body.single-post .article-body.wrap-narrow>.c58-article-rail{
    order:100!important;
    width:100%!important;
    max-width:100%!important;
    margin:24px 0 8px;
    position:static!important;overflow:visible!important;max-height:none!important
  }
  body.single-post .article-body.wrap-narrow>:not(.c58-article-rail){min-width:0;max-width:100%}
}
@media(max-width:600px){
  body.single-post .article-head.wrap-narrow,
  body.single-post .article-body.wrap-narrow{padding-inline:15px!important}
  body.single-post .article-head h1{font-size:clamp(28px,7.5vw,38px)!important;line-height:1.13!important}
  body.single-post .article-body.wrap-narrow>p{line-height:1.73;font-size:17px}
  body.single-post .article-body.wrap-narrow>h2{font-size:clamp(23px,6.2vw,31px)!important;line-height:1.25}
  body.single-post .c58-article-rail{padding:18px!important}
  body.single-post .c58-article-rail h2{font-size:22px!important}
  body.single-post .c58-article-rail a{display:inline-block;padding-block:3px}
}


