/* Theme: CSE 2008 — Authentic homage to the original CSE_CSS_CMS.css */
:root {
  --bg: #121A1D;
  --bg-accent: linear-gradient(180deg, #1b282d 0%, #121A1D 100%);
  --surface: #aaaaaa;
  --surface-alt: #b8b8b8;
  --text: #111111;
  --text-muted: #3d3d3d;
  --border: #888888;
  --accent: #aa4400;
  --accent-hover: #7a2e00;
  --accent-soft: rgba(255, 102, 0, 0.16);
  --banner-accent: #ff6600;
  --banner-opacity: 0.88;
  --radius: 3px;
  --radius-sm: 2px;
  --shadow-sm: none;
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.35);
  --font-body: "Arial Narrow", Arial, Geneva, Helvetica, sans-serif;
  --font-heading: "Arial Narrow", Arial, Geneva, Helvetica, sans-serif;
}

/* Signature dark slate sidebar & compact panels with #ff6600 orange links */
.cse-sidebar,
.cse-vintage-sidebar,
.cse-sidebar--drawer {
  background: linear-gradient(180deg, #1f2e33 0%, #182327 160px, #121A1D 100%);
  color: #cccccc;
  gap: 0.55rem;
}

.cse-vintage-sidebar {
  padding: 0.6rem;
}

.cse-widget {
  background: rgba(18, 26, 29, 0.88);
  border: 1px solid #556369;
  color: #cccccc;
  padding: 0.5rem 0.65rem;
  line-height: 1.35;
}

.cse-widget__title {
  background: linear-gradient(180deg, #2a3a40 0%, #182327 100%);
  color: #ff6600;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  line-height: 1.25;
  padding: 0.2rem 0.55rem;
  margin: -0.5rem -0.65rem 0.45rem;
  border-bottom: 1px solid #66757c;
  border-radius: 2px 2px 0 0;
}

details:not([open]) > summary.cse-widget__title {
  margin-bottom: -0.5rem;
  border-bottom: none;
  border-radius: 2px;
}

details[open] > summary.cse-widget__title {
  margin-bottom: 0.45rem;
}

.cse-toc li,
.cse-widget__list li,
.cse-stats-mini li {
  margin: 0.06rem 0;
  padding: 0.08rem 0;
}
.cse-toc__sub {
  margin-top: 0.08rem;
  margin-left: 0.65rem;
  padding-left: 0.5rem;
}

.cse-widget a,
.cse-sidebar a {
  color: #ff8533;
}
.cse-widget a:hover,
.cse-sidebar a:hover {
  color: #ffaa66;
}
.cse-widget__hint,
.cse-switcher__label,
.cse-search-form__scope {
  color: #9ea9ae;
}

.cse-pill {
  background: #121A1D;
  border-color: #556369;
  color: #cccccc;
}
.cse-pill.is-active {
  background: #ff6600;
  border-color: #ff6600;
  color: #111111;
  font-weight: 700;
}

.cse-search-form input[type="search"],
.cse-login-form input {
  background: #121A1D;
  border-color: #6f7e85;
  color: #e2e8f0;
}

/* Signature #aaa silver content leaf with dotted small-caps header */
.cse-main {
  background: #aaaaaa;
  border: 1px solid #bbbbbb;
  color: #111111;
}

.cse-page-header {
  border-bottom: 1px dotted #666666;
}
.cse-page-title {
  font-variant: small-caps;
  color: #111111;
}

.cse-card {
  background: #b6b6b6;
  border: 1px solid #8c8c8c;
}

.cse-news-box {
  background: #b8b8b8;
  border-left-color: #ff6600;
  border-top: 1px solid #8f8f8f;
  border-right: 1px solid #8f8f8f;
  border-bottom: 1px solid #8f8f8f;
}

/* Vintage frame, breadcrumb strip & search box in authentic dark slate + orange */
.cse-vintage-frame {
  background: #333333;
  border-color: #bbbbbb;
}
.cse-vintage-search {
  background: #040404;
  border-color: #bbbbbb;
  color: #ff6600;
}
.cse-vintage-bar {
  background: linear-gradient(180deg, #1b282d 0%, #121A1D 100%);
  border-color: #bbbbbb;
  color: #ff6600;
}
.cse-vintage-bar a {
  color: #ff6600;
  font-variant: small-caps;
  font-weight: 700;
}

.cse-footer {
  color: #9ea9ae;
  border-top-color: #2b3a40;
}
.cse-footer a {
  color: #ff8533;
}
