/* rtdc-v2.css
   Standalone stylesheet for RTDC_HOME_V2.html, styled to the provided
   mock-up (navy header, two-column card grid, colored icon list items,
   scrollable news feed, dark footer). Fully self-contained — does not
   depend on results-v2.css or any other archive stylesheet, since these
   RTDC files get copied back to a separate web directory. */

:root {
  --navy-950: #0b1c33;
  --navy-900: #10233d;
  --navy-800: #17304f;
  --blue-600: #2f6feb;
  --blue-100: #e7f0ff;
  --purple-600: #7c5cff;
  --purple-100: #efeaff;
  --green-600: #16a34a;
  --green-100: #e3f8ee;
  --orange-600: #e2793a;
  --orange-100: #fdece0;
  --red-600: #c0341d;
  --gray-25: #f6f8fb;
  --gray-50: #f8f9fb;
  --gray-100: #eef1f5;
  --gray-200: #e3e7ed;
  --gray-300: #d8dee6;
  --gray-500: #6b7684;
  --gray-700: #3d4652;
  --gray-900: #1f2733;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--gray-25);
  font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--gray-900);
  line-height: 1.5;
}

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
/* .rtdc-header keeps the full-width navy background; .rtdc-header-inner
   constrains the actual brand/nav content to the same centered width as
   .rtdc-page below, so the logo aligns with the cards' left edge and the
   nav links align with the cards' right edge instead of the browser edge. */
.rtdc-header {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-bottom: 1px solid var(--navy-800);
  padding: 7px 0;
  color: #fff;
}
.rtdc-header-inner {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rtdc-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}
.rtdc-brand:hover { text-decoration: none; }
.rtdc-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none;
}
.rtdc-brand-text { display: flex; flex-direction: column; }
.rtdc-brand-title { font-size: 18px; font-weight: 700; letter-spacing: 0.2px; }
.rtdc-brand-subtitle { font-size: 11px; color: rgba(255, 255, 255, 0.75); }

.rtdc-nav { display: flex; align-items: center; gap: 36px; padding-right:5px }
.rtdc-nav-item { position: relative; }
/* padding trimmed from 8px to 7px to offset the font-size bump, so this
   still sits under the 42px brand icon's height and the header itself
   doesn't grow. */
.rtdc-nav-link {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: default;
  padding: 7px 0;
  display: inline-block;
}
.rtdc-dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 190px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.18);
  padding: 8px 0;
  z-index: 20;
}
.rtdc-nav-item:hover .rtdc-dropdown-panel { display: block; }
.rtdc-dropdown-panel a {
  display: block;
  color: var(--gray-900);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
}
.rtdc-dropdown-panel a:hover { background: var(--gray-50); text-decoration: none; }

/* ---------- Page layout ---------- */
/* Same width formula as .rtdc-header-inner so the cards' left/right edges
   line up exactly with the header's logo and nav. */
.rtdc-page {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
  padding-top: 25px;
}
.rtdc-grid {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) {
  .rtdc-grid { grid-template-columns: 1fr; }
}
.rtdc-col-main, .rtdc-col-side { display: flex; flex-direction: column; gap: 20px; }

/* "Stay updated" card stays at its normal card size (no flex:1, no grid
   stretch) — the title sits fixed at top, and .rtdc-news-scroll below gets
   a plain fixed height, the same simple approach the old page used on
   #newsscroll (height + overflow:auto). */
.rtdc-updates-card {
  display: flex;
  flex-direction: column;
}

.rtdc-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 33px 40px;
}
.rtdc-card-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 14px 0;
}

/* ---------- Overview ---------- */
.rtdc-card p { color: var(--gray-700); margin: 0 0 12px 0; line-height: 1.65; }
.rtdc-card p:last-of-type { margin-bottom: 0; }

.rtdc-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 18px 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.rtdc-link-sep { color: var(--gray-300); }

/* Restyled as a quiet status chip rather than a call-to-action: no more
   panel-wide blue fill or thick left accent stripe. The only color accent
   now lives in the icon badge, matching the icon-in-a-light-circle language
   .rtdc-list-icon.icon-blue uses in the Archives/Support cards. Still an
   <a> to /rtdc/computers/syslog.html — link behavior is unchanged, only the
   visual treatment is quieter. */
.rtdc-callout {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 8px 8px;
  color: inherit;
  width: 48%;
}
.rtdc-callout:hover { text-decoration: none; background: var(--gray-100); }
.rtdc-callout-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: none;
}
.rtdc-callout-title { display: block; font-weight: 700; color: var(--gray-900); font-size: 14px; }
.rtdc-callout-note { display: block; font-size: 11px; color: var(--gray-500); }

/* ---------- Archives / Support list items ---------- */
.rtdc-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--gray-100);
  color: inherit;
}
a.rtdc-list-item:hover { text-decoration: none; background: var(--gray-50); }
.rtdc-list-item:first-child { padding-top: 2px; }
.rtdc-list-item:last-child { border-bottom: none; padding-bottom: 2px; }

.rtdc-list-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: none;
}
.rtdc-list-icon.icon-blue { background: var(--blue-100); color: var(--blue-600); }
.rtdc-list-icon.icon-purple { background: var(--purple-100); color: var(--purple-600); }
.rtdc-list-icon.icon-green { background: var(--green-100); color: var(--green-600); }
.rtdc-list-icon.icon-orange { background: var(--orange-100); color: var(--orange-600); }

.rtdc-list-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.rtdc-list-title { font-weight: 700; font-size: 14.5px; color: var(--gray-900); }
.rtdc-list-desc { font-size: 12.5px; color: var(--gray-500); line-height: 1.4; }
.rtdc-list-link { font-size: 13px; font-weight: 600; margin-top: 2px; }

.rtdc-list-chevron {
  color: var(--gray-300);
  font-size: 14px;
  align-self: center;
  flex: none;
}

/* ---------- Stay updated (news feed) ---------- */
/* Fixed height + overflow:auto, same simple approach the old page used on
   #newsscroll — only this inner box scrolls; the outer card stays at its
   normal size. Adjust this value if the card's bottom edge drifts from the
   Support card's bottom edge once viewed live. */
.rtdc-news-scroll {
  height: 325px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
}
.rtdc-news-scroll::-webkit-scrollbar { width: 8px; }
.rtdc-news-scroll::-webkit-scrollbar-track { background: var(--gray-50); border-radius: 4px; }
.rtdc-news-scroll::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

.rtdc-news-item {
  display: flex;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13.5px;
}
.rtdc-news-item:last-child { border-bottom: none; }
.rtdc-news-date {
  flex: 0 0 78px;
  font-weight: 700;
  color: var(--blue-600);
}
.rtdc-news-text { color: var(--gray-900); }
.rtdc-news-date.rtdc-news-alert,
.rtdc-news-text.rtdc-news-alert { color: var(--red-600); }

.rtdc-news-year {
  text-align: center;
  font-weight: 700;
  color: var(--gray-500);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 6px 0;
  margin: 6px 0;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Footer ---------- */
/* No more dark bar: background matches the page body (var(--gray-25)),
   separated only by a thin divider, so the page just quietly ends rather
   than closing with a distinct dark section. Same centered width formula as
   .rtdc-header-inner/.rtdc-page keeps the logo aligned with the cards
   above instead of the browser edge. */
/* Padding is asymmetric (15px top / 33px bottom, same 48px sum as the
   previous 24px/24px) so the logo sits ~9px higher without changing the
   footer's total height. */
.rtdc-footer {
  margin-top: 23px;
  background: var(--gray-25);
  border-top: 1px solid var(--gray-200);
  padding: 10px 0 33px 0;
}
.rtdc-footer-inner {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.rtdc-footer-logo {
  height: 47px;
  width: auto;
  display: block;
}

/* Email obfuscation span, preserved from the original page's pattern */
span.disguise { display: none; }
