:root {
  --csc-royal-blue: #2a338f;
  --csc-digital-blue: #0d5ab7;
  --csc-scarlet: #ec1c2d;
  --csc-yellow: #ffc515;
  --csc-light-yellow: #ffda3f;
  --csc-ink: #17224b;
  --csc-muted: #56647b;
  --csc-line: #d8deea;
  --csc-paper: #fff;
  --csc-soft: #f4f6fa;
}

body {
  color: var(--csc-ink);
  background: var(--csc-soft);
  font-family: "Open Sans Local", "Open Sans", Arial, sans-serif;
}

.site-utility-bar {
  min-height: 30px;
  padding-block: 4px;
  color: #4d5870;
  background: #fff;
  border-top: 4px solid var(--csc-scarlet);
}

.site-utility-bar a,
.site-nav a,
.text-link,
.footer-bottom a { color: var(--csc-royal-blue); }

.site-header {
  border-bottom: 1px solid var(--csc-line);
  box-shadow: 0 8px 22px rgb(42 51 143 / 7%);
}

.brand img {
  width: 58px;
  height: 58px;
  padding: 2px;
  object-fit: contain;
}

.brand strong,
.footer-brand-panel h2 { color: var(--csc-royal-blue); }

.site-nav a.is-active::after { background: var(--csc-yellow); }

.launch-pad {
  min-height: min(760px, calc(100dvh - 110px));
  border-bottom: 6px solid var(--csc-yellow);
}

.launch-overlay {
  background: linear-gradient(90deg, rgb(42 51 143 / 94%) 0 48%, rgb(42 51 143 / 70%) 72%, rgb(13 90 183 / 44%) 100%);
}

.launch-pad h1,
.subpage-hero h1,
.section-heading h2,
.about-overview-band h2,
.procedure-article-header h2 {
  font-family: "Mirante Local", Mirante, "Open Sans Local", Arial, sans-serif;
  letter-spacing: 0;
}

.eyebrow { color: var(--csc-scarlet); }
.launch-pad .eyebrow,
.subpage-hero .eyebrow { color: var(--csc-yellow); }

.button,
.intro-card,
.journey-card,
.about-card,
.contact-card,
.requirement-card-grid > *,
.process-preview-grid > *,
.privacy-notice-dialog { border-radius: 6px; }

.button.primary { background: var(--csc-scarlet); border-color: var(--csc-scarlet); }
.button.secondary { color: #fff; background: var(--csc-royal-blue); border-color: var(--csc-royal-blue); }
.button:focus-visible,
.site-nav a:focus-visible { outline-color: var(--csc-yellow); }

.subpage-hero {
  min-height: auto;
  padding-block: clamp(44px, 7vw, 86px);
  background: var(--csc-royal-blue);
  border-bottom: 6px solid var(--csc-yellow);
}

.section { padding-block: clamp(48px, 7vw, 92px); }
.intro-strip { padding-block: clamp(30px, 4vw, 52px); }

.vacancy-board-tabs .is-active,
.assessment-track-tabs .is-active { background: var(--csc-royal-blue); }

.site-footer {
  background: var(--csc-royal-blue);
  border-top: 6px solid var(--csc-scarlet);
}

.footer-bottom { background: #171f5b; }

.privacy-card {
  max-width: 1020px;
  margin-inline: auto;
}

.privacy-card h2 {
  margin: 34px 0 12px;
  color: var(--csc-royal-blue);
  font-family: "Mirante Local", Mirante, "Open Sans Local", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.privacy-card p,
.privacy-card li { max-width: 82ch; line-height: 1.72; }
.privacy-card ul,
.privacy-card ol { display: grid; gap: 10px; padding-left: 24px; }
.privacy-card li::marker { color: var(--csc-scarlet); font-weight: 800; }
.privacy-version { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-bottom: 16px; border-bottom: 2px solid var(--csc-yellow); }
.privacy-version span { color: var(--csc-muted); }

@media (max-width: 760px) {
  .site-header { min-height: 70px; padding-block: 6px; }
  .brand img { width: 50px; height: 50px; }
  .launch-pad { min-height: min(680px, calc(100dvh - 100px)); }
  .section { padding-block: 44px; }
}

@media (orientation: landscape) and (max-height: 720px) {
  .launch-pad { min-height: 620px; }
  .subpage-hero { padding-block: 34px; }
}

/* Keep the official utility line visually connected to the primary CSC header. */
.site-utility-bar {
  min-height: 34px;
  padding-block: 0;
  color: var(--csc-muted);
  background: var(--csc-soft);
  border-top: 5px solid var(--csc-scarlet);
  border-bottom: 1px solid var(--csc-line);
}

.site-utility-bar > * {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
}

.site-header {
  min-height: 88px;
  padding-block: 10px;
  background: var(--csc-paper);
  box-shadow: none;
}

.brand {
  gap: 12px;
}

.brand img {
  width: 62px;
  height: 58px;
}

.brand span {
  display: grid;
  gap: 3px;
  padding-left: 12px;
  border-left: 1px solid var(--csc-line);
}

.brand small {
  margin-top: 0;
}

/* Full-width public vacancy disclosures keep the register compact until needed. */
.vacancy-row {
  gap: 18px 24px;
}

.vacancy-details-wrap {
  grid-column: 1 / -1;
  min-width: 0;
}

.vacancy-details {
  margin-top: 2px;
  border-top: 1px solid var(--csc-line);
  border-bottom: 1px solid var(--csc-line);
}

.vacancy-details summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 13px 38px 13px 0;
  color: var(--csc-royal-blue);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.vacancy-details summary::-webkit-details-marker { display: none; }

.vacancy-details summary::after {
  position: absolute;
  right: 7px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-3px);
  transition: transform 160ms ease;
}

.vacancy-details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.vacancy-details-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 1fr);
  gap: 0;
  margin-bottom: 20px;
  background: var(--csc-paper);
  border: 1px solid var(--csc-line);
  border-left: 5px solid var(--csc-yellow);
}

.vacancy-details-panel > section {
  min-width: 0;
  padding: 20px 22px;
}

.vacancy-function {
  border-right: 1px solid var(--csc-line);
}

.vacancy-qualifications,
.vacancy-publication-meta {
  border-top: 1px solid var(--csc-line);
}

.vacancy-competencies,
.vacancy-detail-actions {
  grid-column: 1 / -1;
  border-top: 1px solid var(--csc-line);
}

.vacancy-competencies {
  padding: 20px 22px;
}

.vacancy-detail-label {
  margin: 0 0 10px;
  color: var(--csc-muted);
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.vacancy-function > div,
.vacancy-competencies > div {
  color: var(--csc-ink);
  font-size: .95rem;
  line-height: 1.6;
}

.vacancy-function > div p,
.vacancy-competencies > div p {
  margin: 0;
}

.vacancy-function > div p + p,
.vacancy-competencies > div p + p {
  margin-top: 8px;
}

.vacancy-qualifications dl,
.vacancy-publication-meta dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin: 0;
}

.vacancy-qualifications dl div,
.vacancy-publication-meta dl div {
  min-width: 0;
}

.vacancy-qualifications dt,
.vacancy-publication-meta dt {
  margin-bottom: 4px;
  color: var(--csc-muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.vacancy-qualifications dd,
.vacancy-publication-meta dd {
  margin: 0;
  color: var(--csc-ink);
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.vacancy-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  background: #f8fafc;
}

.vacancy-detail-actions .table-apply {
  width: auto;
}

.vacancy-bulletin-link {
  padding: 8px 2px;
  color: var(--csc-royal-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.archive-vacancy-row .vacancy-details-wrap {
  grid-column: 1 / -1;
}

/* Present the top utility line and the brand lockup as a coherent header stack. */
.site-utility-bar {
  min-height: 32px;
  padding-top: 0;
  padding-bottom: 0;
}

.site-header {
  min-height: 78px;
  padding-top: 8px;
  padding-bottom: 8px;
}

@media (max-width: 980px) {
  .vacancy-details-panel {
    grid-template-columns: 1fr;
  }

  .vacancy-function {
    border-right: 0;
  }

  .vacancy-qualifications,
  .vacancy-publication-meta {
    border-top: 1px solid var(--csc-line);
  }
}

@media (max-width: 660px) {
  .vacancy-details summary {
    min-height: 48px;
    padding-block: 11px;
  }

  .vacancy-details-panel > section,
  .vacancy-competencies,
  .vacancy-detail-actions {
    padding: 16px;
  }

  .vacancy-qualifications dl,
  .vacancy-publication-meta dl {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .site-utility-bar { min-height: 29px; }
  .site-utility-bar > * { min-height: 24px; }
  .site-header { min-height: 66px; padding-block: 5px; }
  .brand img { width: 46px; height: 44px; }
  .brand span { gap: 1px; padding-left: 8px; }
}

/* Use the same seamless utility and brand-header treatment as the admin workspace. */
.site-utility-bar {
  position: relative;
  z-index: 30;
  min-height: 32px;
  padding: 5px max(20px, calc((100vw - var(--content-width)) / 2 + 20px));
  background: var(--csc-paper);
  border-top: 4px solid var(--csc-scarlet);
  border-bottom: 0;
  color: var(--csc-muted);
  font-size: .72rem;
  font-weight: 700;
}

.site-utility-bar time {
  margin-left: auto;
  white-space: nowrap;
}

.site-header {
  min-height: 76px;
  padding-block: 8px;
  background: var(--csc-paper);
  border-top: 0;
  border-bottom: 1px solid var(--csc-line);
  box-shadow: 0 8px 22px rgb(20 39 105 / 6%);
}

.brand { gap: 12px; }
.brand img { width: 62px; height: 56px; }
.brand span { gap: 2px; padding-left: 0; border-left: 0; }
.brand strong { font-size: 1.12rem; line-height: 1.15; }
.brand small { margin-top: 0; font-size: .76rem; font-weight: 700; text-transform: uppercase; }

.vacancy-competency-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vacancy-competency-list li {
  position: relative;
  padding-left: 18px;
}

.vacancy-competency-list li::before {
  position: absolute;
  top: .52em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--csc-yellow);
  border: 2px solid var(--csc-scarlet);
  border-radius: 50%;
}

.vacancy-competency-list strong {
  display: block;
  color: var(--csc-ink);
  font-weight: 800;
  line-height: 1.45;
}

.vacancy-competency-list p {
  margin: 3px 0 0;
  color: var(--csc-muted);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .site-utility-bar { min-height: 29px; padding-inline: 16px; font-size: .62rem; }
  .site-header { min-height: 66px; }
  .brand img { width: 46px; height: 44px; }
  .brand span { padding-left: 0; }
}

/* Keep the launch message legible without introducing competing blue panels. */
.launch-pad {
  background:
    linear-gradient(rgb(42 51 143 / 92%), rgb(42 51 143 / 92%)),
    var(--cms-hero-image, url("/photos/csc-virtual-background.png")) center / cover no-repeat;
}

/* CMS-controlled brand settings keep the public board within the approved CSC type system. */
body {
  font-family: var(--cms-body-font, "Open Sans Local", "Open Sans", Arial, sans-serif);
}

.launch-pad h1,
.subpage-hero h1,
.section-heading h2,
.about-overview-band h2,
.procedure-article-header h2,
.about-board-summary h2,
.about-directory-band h2,
.about-contact-band h2,
  .about-reference-band h2 {
  font-family: var(--cms-heading-font, "Mirante Local", Mirante, Georgia, serif);
}

/* About is an index of distinct information, not a second landing page. */
.about-page-layout {
  display: grid;
  gap: clamp(30px, 4vw, 52px);
  padding-top: clamp(38px, 5vw, 68px);
  padding-bottom: clamp(46px, 6vw, 76px);
}

.about-board-summary,
.about-directory-band,
.about-contact-band,
.about-reference-band {
  margin: 0;
}

.about-board-summary {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-block: 0 clamp(24px, 3vw, 38px);
  border-bottom: 1px solid var(--csc-line);
}

.about-board-summary h2,
.about-directory-band h2,
.about-contact-band h2,
.about-reference-band h2 {
  margin: 0 0 12px;
  color: var(--csc-royal-blue);
}

.about-board-summary > div > p:last-child,
.about-directory-band > p:not(.eyebrow),
.about-reference-band > p:not(.eyebrow) {
  max-width: 65ch;
  margin: 0;
  color: var(--csc-muted);
  line-height: 1.65;
}

.about-board-points {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--csc-line);
}

.about-board-points li {
  display: grid;
  gap: 5px;
  padding: 16px 0 16px 20px;
  border-bottom: 1px solid var(--csc-line);
  border-left: 4px solid var(--csc-yellow);
}

.about-board-points strong { color: var(--csc-royal-blue); }
.about-board-points span { color: var(--csc-muted); line-height: 1.5; }

.about-directory-band {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
  column-gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
.about-directory-band > .eyebrow,
.about-directory-band > h2,
.about-directory-band > p { grid-column: 1; }
.about-dropdown-list { grid-column: 2; grid-row: 1 / span 3; border-top: 1px solid var(--csc-line); }
.about-dropdown-list details { border-bottom: 1px solid var(--csc-line); }
.about-dropdown-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--csc-royal-blue); font-weight: 800; cursor: pointer; }
.about-dropdown-list summary::marker { color: var(--csc-scarlet); }
.about-dropdown-list summary small { color: var(--csc-muted); font-size: .8rem; font-weight: 700; }
.about-dropdown-list details p { max-width: 64ch; margin: 0 0 10px 20px; color: var(--csc-muted); line-height: 1.6; }
.about-dropdown-list details .text-link { display: inline-block; margin: 0 0 18px 20px; }

.about-contact-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(24px, 3vw, 38px);
  border-block: 1px solid var(--csc-line);
}
.about-contact-copy address { margin: 0 0 14px; color: var(--csc-muted); font-style: normal; line-height: 1.6; }
.about-contact-copy > p { margin: 0 0 6px; color: var(--csc-muted); }
.about-contact-copy a { color: var(--csc-royal-blue); font-weight: 800; }
.leadership-list { display: grid; gap: 16px; margin: 0; }
.leadership-list div { padding-left: 18px; border-left: 4px solid var(--csc-yellow); }
.leadership-list dt { color: var(--csc-muted); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.leadership-list dd { margin: 4px 0 0; color: var(--csc-royal-blue); font-weight: 800; }

.about-reference-band { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); column-gap: clamp(28px, 5vw, 72px); }
.about-reference-band > .eyebrow,
.about-reference-band > h2,
.about-reference-band > p { grid-column: 1; }
.about-reference-band .reference-links { grid-column: 2; grid-row: 1 / span 3; display: grid; align-content: start; gap: 0; border-top: 1px solid var(--csc-line); }
.about-reference-band .reference-links a { padding: 18px 0; border-bottom: 1px solid var(--csc-line); color: var(--csc-royal-blue); font-weight: 800; }

@media (max-width: 880px) {
  .about-board-summary,
  .about-directory-band,
  .about-contact-band,
  .about-reference-band { grid-template-columns: 1fr; }
  .about-directory-band > *,
  .about-reference-band > * { grid-column: 1; grid-row: auto; }
  .about-dropdown-list,
  .about-reference-band .reference-links { margin-top: 20px; }
}

@media (max-width: 600px) {
  .about-board-summary { gap: 24px; }
  .about-contact-band { gap: 26px; }
  .about-dropdown-list summary { padding-block: 15px; }
}

.launch-overlay,
.launch-overlay h1,
.launch-overlay p,
.launch-overlay .launch-actions {
  background: transparent;
}

.launch-overlay {
  max-width: 850px;
  padding: 0;
}

/* Footer links need a light foreground against the official CSC blue field. */
.site-footer .footer-bottom a {
  color: #fff;
  font-weight: 700;
}

.site-footer .footer-bottom a:hover,
.site-footer .footer-bottom a:focus-visible {
  color: var(--csc-yellow);
}

/* Legal information is presented as short, independently scannable sections. */
.legal-layout {
  width: min(100% - 40px, 1080px);
  max-width: 1080px;
  padding-block: clamp(24px, 3.5vw, 42px);
}

.legal-page-card {
  border: 1px solid var(--csc-line);
  border-top: 6px solid var(--csc-yellow);
  border-left: 0;
  box-shadow: 0 18px 50px rgb(23 34 75 / 7%);
  padding: clamp(22px, 2.8vw, 34px);
}

.legal-page-lead {
  max-width: 920px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--csc-line);
}

.legal-page-lead .eyebrow {
  margin-bottom: 7px;
  color: var(--csc-scarlet);
}

.legal-page-lead > p:last-child {
  max-width: 74ch;
  margin: 0;
  color: var(--csc-muted);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.68;
}

.privacy-page-lead .privacy-version {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--csc-line);
}

.legal-topic-grid,
.privacy-topic-grid {
  column-count: 2;
  column-gap: 14px;
  column-fill: balance;
  margin-top: 20px;
}

.legal-topic,
.privacy-topic {
  position: relative;
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  padding: 18px 20px 18px 54px;
  margin: 0 0 14px;
  background: var(--csc-soft);
  border: 1px solid var(--csc-line);
  border-radius: 6px;
}

.privacy-topic {
  padding-left: 20px;
}

.legal-topic-number {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--csc-scarlet);
  font-size: .78rem;
  font-weight: 900;
}

.legal-topic h2,
.privacy-topic h2 {
  margin-bottom: 7px;
  color: var(--csc-ink);
  font-family: "Open Sans Local", "Open Sans", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}

.legal-topic p,
.privacy-topic p,
.privacy-topic li {
  margin: 0;
  color: var(--csc-muted);
  font-size: .94rem;
  line-height: 1.58;
}

.privacy-topic p + p,
.privacy-topic ul + p,
.privacy-topic ol + p {
  margin-top: 10px;
}

.privacy-topic ul,
.privacy-topic ol {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 1.3rem;
}

.privacy-topic li::marker {
  color: var(--csc-scarlet);
}

.privacy-topic li strong {
  color: var(--csc-ink);
}

.privacy-topic .privacy-note {
  border-left: 3px solid var(--csc-yellow);
  padding-left: 10px;
}

.privacy-topic a {
  color: var(--csc-royal-blue);
  font-weight: 800;
}

@media (max-width: 760px) {
  .legal-layout { width: min(100% - 28px, 1080px); padding-block: 22px; }
  .legal-page-card { padding: 18px; }
  .legal-topic-grid,
  .privacy-topic-grid { column-count: 1; margin-top: 18px; }
  .legal-topic { padding: 18px 18px 18px 52px; }
  .legal-topic-number { top: 18px; left: 16px; }
  .privacy-topic { padding: 18px; }
}
