/* Isolated sidebar layout: native sticky scrolling, no scroll handlers. */
.sidebar.ci-news-sidebar { display: flex; flex-direction: column; align-self: stretch; gap: 20px; min-width: 0; }
.ci-sidebar-news { padding: 16px 12px; }
.ci-news-sidebar .widget-title { color: var(--brand-dark); border-bottom-color: var(--brand); }
.ci-sidebar-news-list { list-style: none; padding: 0; margin: 0; }
.ci-sidebar-news-list .ci-sidebar-news-item { position: relative; display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ci-sidebar-news-item:first-child { padding-top: 0; }
.ci-sidebar-news-item:last-child { padding-bottom: 0; border-bottom: 0; }
.ci-sidebar-image { display: block; width: 72px; height: 60px; overflow: hidden; border-radius: 6px; background: #e8f1ff; }
.ci-sidebar-image img { width: 100%; height: 100%; object-fit: cover; }
.ci-sidebar-placeholder { display: block; width: 100%; height: 100%; background: #e8f1ff; }
.ci-sidebar-rank { position: absolute; left: 0; top: 12px; z-index: 1; padding: 1px 4px; border-radius: 3px; color: #fff; background: var(--brand); font-size: 10px; font-weight: 800; line-height: 1.5; pointer-events: none; }
.ci-sidebar-news-item:first-child .ci-sidebar-rank { top: 0; }
.ci-sidebar-news-body { min-width: 0; }
.ci-sidebar-news-body h3 { margin: 0 0 5px; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.ci-sidebar-news-body time, .ci-sidebar-empty { color: #596273; font-size: 11px; }
.ci-sidebar-empty { margin: 0; }
.ci-sidebar-tail { display: grid; gap: 12px; min-width: 0; }
.ci-news-sidebar .adsense-sidebar { margin: 0; min-height: 274px; padding: 4px 0; background: #fff; }
.ci-news-sidebar .article-ad__label { margin: 0 0 4px; font-size: 10px; }
.ci-sidebar-teams { padding: 14px; }
.ci-sidebar-teams .widget-title { font-size: 19px; margin-bottom: 10px; padding-bottom: 8px; }
.ci-sidebar-teams .ci-team-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; list-style: none; margin: 0; padding: 0; }
.ci-sidebar-teams .ci-team-links li { border: 0; padding: 0; min-width: 0; }
.ci-team-links a { display: block; padding: 5px 8px; border-radius: 4px; color: var(--brand-dark); background: #e8f1ff; font-size: 15px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.ci-team-links a:hover, .ci-team-links a:focus-visible { background: #d5e6ff; }
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .ci-sidebar-tail.is-sticky { position: sticky; top: var(--ci-sidebar-top,24px); }
}
@media (max-width: 1024px) {
  .ci-sidebar-teams .ci-team-links { gap: 6px; }
  .ci-team-links a { display: flex; align-items: center; min-height: 40px; padding: 8px; font-size: 15px; }
}
@media (max-width: 321px) { .ci-news-sidebar .adsense-sidebar { display: none; } }

/* Match editorial heading tabs without adding scripts or assets. */
body .ci-news-sidebar .widget-title {
  position: relative; isolation: isolate; display: inline-block;
  max-width: 100%; border: 0; margin: 0 0 14px; padding: 9px 18px;
  color: #fff; background: transparent; font-size: 19px; line-height: 1.35;
  overflow-wrap: anywhere;
}
body .ci-news-sidebar .widget-title::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: #1570ef;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
body .ci-news-sidebar .widget-title::after { content: none; }
@media (max-width: 620px) {
  body .ci-news-sidebar .widget-title { padding: 9px 14px; font-size: 16px; }
}
