/* DOYJO Local Headlines — compact sidebar card */
/*
  Many themes apply aggressive link colors in sidebars (sometimes with !important).
  These rules intentionally increase specificity (and use !important where needed)
  so headlines remain readable on the dark card.
*/
.doyjo-lh{font-family:inherit;border-radius:12px;background:#111827;color:#f9fafb !important;padding:14px 14px 10px;box-shadow:0 6px 18px rgba(0,0,0,.12);margin:0 0 16px}
.doyjo-lh *{box-sizing:border-box}
.doyjo-lh__head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}
.doyjo-lh__title{font-weight:700;font-size:14px;line-height:1.25}
.doyjo-lh__loc{font-size:12px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:58%}
.doyjo-lh__status{font-size:13px;opacity:.85;margin:8px 0 10px}
.doyjo-lh__error{opacity:1}
.doyjo-lh__list{list-style:none;margin:0;padding:0}
.doyjo-lh__list li{padding:8px 0;border-top:1px solid rgba(255,255,255,.10)}
.doyjo-lh__list li:first-child{border-top:none;padding-top:2px}
.doyjo-lh__list a{color:inherit !important;text-decoration:none}
.doyjo-lh__list a:hover{text-decoration:underline}
.doyjo-lh__meta{display:block;font-size:11px;opacity:.75;margin-top:3px;color:rgba(255,255,255,.78) !important}
.doyjo-lh__empty{font-size:13px;opacity:.85;margin:8px 0 10px}
.doyjo-lh__foot{margin-top:10px;font-size:11px;opacity:.6;color:rgba(255,255,255,.70) !important}
.doyjo-lh__foot a{color:inherit !important}

/* ====== Ticker view ====== */
.doyjo-lh--ticker{padding:0}
.doyjo-lh--ticker .doyjo-lh__head{padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.10);margin:0}
.doyjo-lh--ticker .doyjo-lh__title{font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.doyjo-lh--ticker .doyjo-lh__loc{max-width:55%}
.doyjo-lh--ticker .doyjo-lh__body{padding:10px 12px 12px}

.doyjo-lh-ticker__viewport{overflow:hidden;white-space:nowrap}
.doyjo-lh-ticker__track{display:flex;width:max-content;animation:doyjoLhTicker var(--doyjo-lh-ticker-duration,40s) linear infinite;will-change:transform}
.doyjo-lh--ticker:hover .doyjo-lh-ticker__track,.doyjo-lh--ticker:focus-within .doyjo-lh-ticker__track{animation-play-state:paused}
.doyjo-lh--ticker-static .doyjo-lh-ticker__track{animation:none}
.doyjo-lh-ticker__run{display:flex;align-items:center}
.doyjo-lh-ticker__item{display:inline-flex;align-items:center;flex:0 0 auto}
.doyjo-lh-ticker__item a{color:inherit !important;text-decoration:none;font-weight:600}
.doyjo-lh-ticker__item a:hover{text-decoration:underline}
.doyjo-lh-ticker__sep{margin:0 14px;opacity:.55;font-weight:700}

@keyframes doyjoLhTicker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

@media (prefers-reduced-motion: reduce){
  .doyjo-lh-ticker__track{animation:none}
  .doyjo-lh-ticker__viewport{overflow-x:auto;-webkit-overflow-scrolling:touch}
}
