/* Owner-approved public masthead, support bar, menu and footer.
   No body/root/main tokens or admin/Newsroom/preview styles. */
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/editorial-margin/source-serif-4-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/editorial-margin/source-sans-3-latin.woff2") format("woff2");
}

.rcs-public-shell :is(.site-alert, .site-header, .site-footer, .home-header-group) {
  --shell-paper: #f3ebdd;
  --shell-neutral: #e9ddcc;
  --shell-ink: #242426;
  --shell-muted: #615953;
  --shell-accent: #79343e;
  --shell-rule: #c9bbab;
  --foreground: var(--shell-ink);
  --background: var(--shell-paper);
  --card: var(--shell-paper);
  --primary: var(--shell-accent);
  --primary-foreground: #fffaf3;
  --muted-foreground: var(--shell-muted);
  --border: var(--shell-rule);
  --warning: var(--shell-accent);
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  background: var(--shell-paper);
  color: var(--shell-ink);
  font: 400 1rem/1.5 var(--font-sans);
  color-scheme: light;
  box-shadow: none;
  backdrop-filter: none;
}

.rcs-public-shell :is(.site-alert, .site-header, .site-footer) * {
  min-width: 0;
  box-shadow: none;
  text-shadow: none;
  animation: none;
  transition: none;
  transform: none;
  overflow-wrap: anywhere;
}

.rcs-public-shell :is(.site-alert, .site-header, .site-footer) .container {
  width: min(75rem, calc(100% - 4rem));
  margin-inline: auto;
  padding-inline: 0;
}

.rcs-public-shell .site-alert {
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--shell-rule);
  background: var(--shell-neutral);
  font-size: 0.9375rem;
}

.rcs-public-shell .site-alert-inner { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.rcs-public-shell .site-alert p { max-width: 85ch; color: var(--shell-ink); }
.rcs-public-shell .site-alert a { color: var(--shell-accent); text-decoration: underline; text-underline-offset: 0.2em; }
.rcs-public-shell .site-alert .quick-exit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  margin-left: auto;
  border: 1px solid var(--shell-accent);
  border-radius: 2px;
  background: transparent;
  color: var(--shell-accent);
  font-weight: 600;
  text-decoration: none;
}

.rcs-public-shell .site-header { border-bottom: 1px solid var(--shell-rule); }
.rcs-public-shell .header-shell { gap: 2rem; min-height: 7rem; padding-block: 1.25rem; }
.rcs-public-shell .brand-mark { flex: 0 1 20rem; gap: 0.5rem; text-decoration: none; }
.rcs-public-shell .brand-kicker { font-family: var(--font-serif); font-size: 1.875rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; }
.rcs-public-shell .brand-subtitle { max-width: 36ch; font-size: 0.9375rem; line-height: 1.4; }
.rcs-public-shell .desktop-nav { flex: 1; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.25rem 1rem; }
.rcs-public-shell .desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; font: 600 1rem/1.4 var(--font-sans); }
.rcs-public-shell .nav-admin-link { padding: 0.5rem 0.75rem; border: 1px solid var(--shell-rule); border-radius: 2px; background: transparent; }
.rcs-public-shell .desktop-nav a:hover,
.rcs-public-shell .desktop-nav a[aria-current="page"],
.rcs-public-shell .nav-menu a:hover,
.rcs-public-shell .nav-menu a[aria-current="page"] {
  color: var(--shell-accent) !important;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.rcs-public-shell :is(.nav-toggle, .nav-close) {
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--shell-rule);
  border-radius: 2px;
  background: transparent;
  color: var(--shell-ink);
}

.rcs-public-shell .nav-toggle { flex-direction: column; flex-shrink: 0; }
.rcs-public-shell .nav-toggle span { background: var(--shell-accent); }
.rcs-public-shell .site-nav {
  background: var(--shell-paper);
  backdrop-filter: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2rem;
}

.rcs-public-shell .nav-panel { gap: 2rem; }
.rcs-public-shell .nav-brand { font-family: var(--font-serif); font-size: 1.75rem; }
.rcs-public-shell .nav-brand-note { color: var(--shell-muted); }
.rcs-public-shell .nav-menu { gap: 0; }
.rcs-public-shell .nav-menu a { min-height: 44px; padding: 0.75rem 0; border: 0; border-bottom: 1px solid var(--shell-rule); border-radius: 0; background: transparent; }
.rcs-public-shell .nav-menu .nav-cta { padding-inline: 1rem; margin-top: 1rem; background: var(--shell-accent); color: #fffaf3; }
.rcs-public-shell .nav-menu .nav-cta:hover { background: var(--shell-ink); color: #fffaf3 !important; }
.rcs-public-shell .nav-newsletter { padding: 1.5rem 0 0; background: transparent; border: 0; border-top: 1px solid var(--shell-rule); border-radius: 0; }
.rcs-public-shell :is(.site-header, .site-footer) .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  background: var(--shell-accent);
  color: #fffaf3;
  border: 1px solid var(--shell-accent);
  border-radius: 2px;
  font: 600 1rem/1.5 var(--font-sans);
  text-decoration: none;
}

.rcs-public-shell :is(.site-header, .site-footer) .button:hover { background: var(--shell-ink); border-color: var(--shell-ink); color: #fffaf3; }
.rcs-public-shell :is(.site-alert, .site-header, .site-footer) :is(a, button):focus-visible { outline: 3px solid var(--shell-accent); outline-offset: 4px; }
.rcs-public-shell.home-portrait-preview .site-header { position: static; }
.rcs-public-shell.home-portrait-preview .site-nav { top: var(--home-menu-top, 110px); }
.rcs-public-shell.home-portrait-preview :is(.home-emergency-link, .home-hotline-link) { color: var(--shell-accent); }

.rcs-public-shell .site-footer { margin-top: 0; border-top: 1px solid var(--shell-rule); }
.rcs-public-shell .footer-newsletter { padding-block: 3rem; border-bottom: 1px solid var(--shell-rule); }
.rcs-public-shell .footer-newsletter .container { grid-template-columns: minmax(0, 3.3fr) minmax(0, 1fr); gap: 4rem; }
.rcs-public-shell .footer-newsletter h3 { max-width: 30ch; font: 500 2rem/1.2 var(--font-serif); letter-spacing: -0.025em; color: var(--shell-ink); }
.rcs-public-shell .footer-newsletter p { margin-top: 0.875rem; max-width: 65ch; color: var(--shell-muted); font-size: 1rem; }
.rcs-public-shell .footer-main { padding-block: 3rem; }
.rcs-public-shell .footer-grid-public { grid-template-columns: minmax(0, 1.75fr) repeat(3, minmax(0, 1fr)); gap: 3rem; }
.rcs-public-shell .footer-brand h2 { color: var(--shell-ink); font: 500 1.875rem/1.2 var(--font-serif); letter-spacing: -0.025em; }
.rcs-public-shell .footer-brand p { max-width: 33ch; color: var(--shell-muted); font-size: 1rem; }
.rcs-public-shell .footer-section h3 { color: var(--shell-accent) !important; font: 600 0.875rem/1.5 var(--font-sans); letter-spacing: 0.08em; }
.rcs-public-shell .footer-links a { color: var(--shell-ink); font-size: 1rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.rcs-public-shell .footer-links a:hover { color: var(--shell-accent); text-decoration-thickness: 2px; }
.rcs-public-shell .footer-bottom { border-top: 1px solid var(--shell-rule); padding-block: 1.5rem; color: var(--shell-muted); font-size: 0.9375rem; }
.rcs-public-shell .footer-emergency { color: var(--shell-muted); }

@media (max-width: 1279px) {
  .rcs-public-shell .desktop-nav { display: none; }
  .rcs-public-shell .nav-toggle { display: inline-flex; }
  .rcs-public-shell .site-nav { display: flex; }
}

@media (min-width: 1280px) {
  .rcs-public-shell .desktop-nav { display: flex; }
  .rcs-public-shell :is(.nav-toggle, .site-nav) { display: none; }
}

@media (max-width: 760px) {
  .rcs-public-shell :is(.site-alert, .site-header, .site-footer) .container { width: calc(100% - 2.5rem); }
  .rcs-public-shell .header-shell { gap: 1rem; min-height: 6rem; padding-block: 1rem; }
  .rcs-public-shell .brand-kicker { font-size: 1.625rem; }
  .rcs-public-shell .brand-subtitle { font-size: 0.875rem; }
  .rcs-public-shell .site-alert-inner { gap: 0.75rem; }
  .rcs-public-shell .site-alert .quick-exit-link { margin-left: 0; }
  .rcs-public-shell .site-nav { padding: 1.25rem; }
  .rcs-public-shell .footer-newsletter .container { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .rcs-public-shell .footer-grid-public { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .rcs-public-shell .footer-brand { grid-column: auto; }
  .rcs-public-shell .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* Public policy routes, shared by existing footer experiences. */
@font-face { font-family: 'RCS Anton'; src: url('/assets/fonts/homepage/Anton-Regular.woff2') format('woff2'), url('/assets/fonts/homepage/Anton-Regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
.rcs-public-shell .brand-mark:has(.public-wordmark) { flex: 0 0 auto; padding-right: 1rem; border-right: 4px solid #b70735; }
.rcs-public-shell .public-wordmark { display: grid; font: 400 2.1rem/.98 'RCS Anton', Impact, sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.rcs-public-shell .public-wordmark span { white-space: nowrap; }
.rcs-public-shell .desktop-nav .rh-submit { color: #8c1d30; text-decoration: underline; text-underline-offset: .3em; gap: .4rem; }
.rcs-public-shell .public-noscript { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; padding-block: 1rem; color: #79343e; }
.rcs-public-shell .footer-policies { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.rcs-public-shell .trust-links { display: flex; flex-wrap: wrap; gap: .75rem 1.4rem; }
.rcs-public-shell .trust-links a { color: inherit; text-underline-offset: .2em; }
.rcs-public-shell .trust-links a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
/* The same charcoal/ivory footer palette as the approved homepage. */
.rcs-public-shell .site-footer {
  --shell-paper: #0f1316; --shell-neutral: #171c1f;
  --shell-ink: #f4ede2; --shell-muted: #d3c8b9;
  --shell-accent: #f4ede2; --shell-rule: #81786c;
}
.rcs-public-shell .site-footer .button { background: #8c1d30; border-color: #c88895; }
.rcs-public-shell .site-footer .button:hover { background: #f4ede2; color: #0f1316; }
/* Related Archive links sit on the Newsroom article's charcoal background. */
nav[aria-label="Related case files"] .text-link {
  color: #ff849c;
  text-decoration: underline;
  text-underline-offset: .2em;
}
