/* ============================================
   1. Card borders + hover lift
   ============================================ */
.tile {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease;
}
.tile:hover {
  border-color: #E3522A;
}

/* ============================================
   2. Orange accent underline on section headings
   Scoped to .article-body h2 only — a bare h2 selector
   was also matching the "On this Page" TOC widget heading.
   ============================================ */
.article-body h2 {
  position: relative;
  padding-bottom: 12px;
}
.article-body h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background-color: #E3522A;
}

/* ============================================
   3. Announcement banner — background + link color
   ============================================ */
theme-announcement-banner.notice {
  background-color: #0B455C;
}
.notice-body,
theme-announcement-banner.notice {
  color: #ffffff;
}
theme-announcement-banner.notice svg {
  color: #ffffff;
  fill: currentColor;
}
theme-announcement-banner.notice a {
  color: #E3522A;
  font-weight: 600;
  text-decoration: underline;
}
theme-announcement-banner.notice .notice-dismiss {
  color: #ffffff;
}

/* ============================================
   4. CTA-style links (standalone "go to guide" links)
   Resting color: grey (#344563), matches table headers.
   Brand orange (#E3522A) reserved for hover only.
   ============================================ */
.article-body > p > a:only-child {
  display: inline-block;
  color: #344563;
  font-weight: 600;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.article-body > p > a:only-child:hover {
  color: #E3522A;
  border-bottom-color: #E3522A;
}
.article-body > p > a:only-child::after {
  content: " →";
}

/* ============================================
   4b. All other in-body links (e.g. inline list links)
   Same color treatment as CTA links, but no arrow.
   ============================================ */
.article-body a {
  color: #344563;
  transition: color 0.2s ease;
}
.article-body a:hover {
  color: #E3522A;
}

/* ============================================
   5. Numbered step headers
   ============================================ */
.article-body h3 {
  border-left: 3px solid #E3522A;
  padding-left: 12px;
}

/* ============================================
   6. Pagination footer
   ============================================ */
.page-pagination-item a {
  transition: color 0.2s ease;
}
.page-pagination-item a:hover {
  color: #E3522A;
}

/* ============================================
   7. Breadcrumb trail
   ============================================ */
.breadcrumbs a {
  color: #344563;
  font-weight: 600;
  transition: color 0.2s ease;
}
.breadcrumbs a:hover {
  color: #E3522A;
}

/* ============================================
   8. Search bar focus state
   ============================================ */
.search-input__input:focus {
  border-color: #E3522A;
  box-shadow: 0 0 0 2px rgba(227, 82, 42, 0.15);
  outline: none;
}

/* ============================================
   9. Footer — bookend the page to match the navy header
   Scoped to the site-wide copyright footer only (footer.footer),
   NOT the bare <footer> tag — that also wraps the Previous/Next
   pagination nav on every article page, which should stay unstyled.
   ============================================ */
footer.footer {
  background-color: #001D44;
  color: #ffffff;
}
footer.footer a {
  color: #E3522A;
}

/* ============================================
   10. Sidebar — highlight the currently active page
   Uses aria-current="page" (confirmed present on the
   active sidebar link) rather than a class, since no
   "active"/"current" class exists in the markup.
   ============================================ */
.navigator a[aria-current="page"] {
  background-color: rgba(227, 82, 42, 0.08);
  border-radius: 6px;
  font-weight: 600;
  color: #E3522A;
}

/* ============================================
   11. Code blocks — give them a visible box
   Previously fully transparent, no border, black-on-white,
   indistinguishable from regular prose.
   ============================================ */
pre {
  background-color: #F4F5F7;
  border: 1px solid #DFE1E6;
  border-radius: 6px;
  padding: 16px;
}
pre code {
  color: #172B4D;
}

/* ============================================
   12. "Why this matters" panel — brand-aligned color
   Was default Confluence lavender/pink (unrelated to brand).
   ============================================ */
[data-appearance="note"] {
  background-color: #FFF4EE;
  border-left: 3px solid #E3522A;
}