/* v1.77 — targeted night palette for the post sidebar.
 * Overrides the historical daytime !important values in sidebar-compact.css.
 * Color-only: does not change sticky positioning, typography, or spacing.
 */
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column {
  --atps-night-surface: #1b2b31;
  --atps-night-text: #edf5f6;
  --atps-night-muted: #bdcfd2;
  --atps-night-link: #95e3e4;
  --atps-night-border: #45616a;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column .at-post-sidebar.at-post-sidebar--widgets,
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column .atps-premium,
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column .at-sidebar-widget,
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column .atps-legacy-widgets {
  background: var(--atps-night-surface) !important;
  color: var(--atps-night-text) !important;
  border-color: var(--atps-night-border) !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column :is(.atps-mini-about,.atps-mini-section,.atps-popular,.atps-categories,.atps-mini-item,.at-sidebar-widget-list li,.widget_nav_menu li,.wp-block-separator,.at-sidebar-navigation .wp-block-navigation-item) {
  border-color: var(--atps-night-border) !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column :is(.atps-mini-about h2,.atps-mini-name,.atps-mini-item,.atps-mini-about-copy,.atps-mini-about-copy p,.at-sidebar-heading,.widget-title,.wp-block-heading,.at-sidebar-widget p,.at-sidebar-widget li) {
  color: var(--atps-night-text) !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column :is(.atps-mini-heading,.atps-mini-link,.atps-mini-map,.at-sidebar-widget a,.at-sidebar-navigation .wp-block-navigation-item a) {
  color: var(--atps-night-link) !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column .atps-mini-item {
  background: transparent !important;
  text-decoration: none !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column .atps-mini-item:hover .atps-mini-name,
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column a:hover {
  color: #d6faf5 !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column .atps-mini-thumb,
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column .atps-card-placeholder {
  background-color: #263e46 !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column .atps-category-link {
  background: #263e46 !important;
  color: var(--atps-night-link) !important;
  border-color: var(--atps-night-border) !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column .atps-category-link:is(:hover,:focus-visible) {
  background: #31545c !important;
  color: #ffffff !important;
  border-color: #95e3e4 !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column :is(.wp-block-latest-posts__post-date,.wp-block-post-date,.atps-mini-description,.atps-muted) {
  color: var(--atps-night-muted) !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column :is(input,select,textarea) {
  background: #263e46 !important;
  color: var(--atps-night-text) !important;
  border-color: var(--atps-night-border) !important;
}
html[data-at-theme="dark"] body .at-post-layout .at-post-sidebar-column :is(.wp-block-search__button,button[type="submit"]) {
  background: #217880 !important;
  color: #ffffff !important;
}
