.ns-trending-widget{box-sizing:border-box;width:100%;border:1px solid rgba(128,128,128,.2);border-radius:14px;background:var(--wp--preset--color--base, #fff);color:inherit;padding:12px 0 0;overflow:hidden;font:inherit}.ns-trending-widget *{box-sizing:border-box}.ns-trending-title{font-size:1.2rem;line-height:1.3;font-weight:750;margin:0 17px 14px}.ns-trending-country-label{display:block;margin:0 17px 5px;font-size:12px;line-height:1.5;color:#767676}.ns-trending-country{display:block;width:calc(100% - 34px);margin:0 17px 10px;border:1px solid #d4d7da;background:transparent;color:inherit;border-radius:8px;padding:2px 9px;font:inherit;font-size:14px}.ns-trending-item{display:flex;flex-direction:column;padding:8px 17px;text-decoration:none!important;color:inherit!important;gap:2px;transition:background .12s ease}.ns-trending-item:hover,.ns-trending-item:focus-visible{background:rgba(120,140,155,.1);outline:none}.ns-trending-kicker,.ns-trending-counts{font-size:12px;line-height:1.35;color:#6d747d}.ns-trending-topic{font-size:15px;line-height:1.35;font-weight:700;color:inherit}.ns-trending-empty{padding:9px 17px;margin:0;font-size:13px;color:#777}@media(prefers-color-scheme:dark){.ns-trending-widget{background:var(--wp--preset--color--base, #181a1c)}.ns-trending-kicker,.ns-trending-counts,.ns-trending-country-label{color:#a5a9b0}}

/* Force native option-menu foreground/background to remain readable in dark sites. */
.ns-trending-widget select.ns-trending-country {
  color-scheme: dark; background-color: #24282c; color: #f7f8f9; border-color: #646b73;
}
.ns-trending-widget select.ns-trending-country option,
.ns-trending-widget select.ns-trending-country optgroup {
  background-color: #24282c; color: #f7f8f9;
}
.ns-trending-widget select.ns-trending-country:focus-visible {
  outline: 2px solid #7fb9ff; outline-offset: 2px;
}

/* Subtle separator between country-specific headlines and worldwide trends. */
.ns-trending-section-divider {
  height: 1px;
  margin: 0px 17px;
  background: rgba(128, 128, 128, .28);
  pointer-events: none;
}


/* Mobile: compact expandable headlines above the news feed.
 * On desktop the full sidebar always remains visible. */
.ns-trending-mobile-toggle { display: none; }
@media (max-width: 800px) {
  /* The site uses the shortcode in the right column of this grid.
   * Reorder that same widget ahead of the article feed on small screens. */
  .ns-trending-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .ns-trending-layout > .ns-trending-sidebar { order: -1; }
  .ns-trending-layout > .ns-trending-main { order: 0; }
  .ns-trending-widget { padding-top: 0; }
  .ns-trending-widget.ns-trending-ready .ns-trending-mobile-toggle {
    display: flex; width: 100%; align-items: center; justify-content: space-between;
    gap: 12px; padding: 12px 17px; border: 0; border-radius: 0;
    background: transparent; color: inherit; font: inherit; text-align: left;
    cursor: pointer; line-height: 1.35;
  }
  .ns-trending-mobile-toggle:hover { background: rgba(120,140,155,.09); }
  .ns-trending-mobile-toggle:focus-visible { outline: 2px solid #7fb9ff; outline-offset: -2px; }
  .ns-trending-mobile-heading { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
  .ns-trending-mobile-toggle svg { width: 20px; height: 20px; flex: none; }
  .ns-trending-chevron { transition: transform .15s ease; }
  .ns-trending-mobile-toggle[aria-expanded="true"] .ns-trending-chevron { transform: rotate(180deg); }
  .ns-trending-widget.ns-trending-ready .ns-trending-content:not(.is-open) { display: none; }
  .ns-trending-widget.ns-trending-ready .ns-trending-content .ns-trending-title { display: none; }
  .ns-trending-country-label { margin-top: 6px; }
}
