/* Career site styles — loaded only by _CareerLayout.cshtml (body.career-template).
   Ported from CMS11 NavigationSplashPage, career-job-description.scss, FooterInvited. */

body.career-template {
  /* Override invited.css body { background: var(--app-bg) } cream on career pages */
  background-color: #ffffff;
  /* Fallback when ColorScheme is unset — invited-clubs (CMS11 NavigationSplashPage / FooterInvited). Per-theme overrides in career-site-themes.css */
  --career-black: #121212;
  --career-black-opaque: rgba(0, 0, 0, 0.95);
  --career-white: #ffffff;
  --career-white-opaque: rgba(255, 255, 255, 0.95);
  --career-primary-light: #6aa3d6;
  --career-primary-dark: #0f206c;
  --career-secondary-light: #b2b4a8;
  --career-secondary-dark: #08113b;
  --career-tertiary-dark: #000000;
  --career-tertiary-light: #000000;
  --career-text-light: #ffffff;
  --career-text-dark: #121212;
  --career-nav-text: #ffffff;
  --career-nav-bg: #ffffff;
  --career-footer-text: #ffffff;
  --career-footer-bg: #0f206c;
  --career-social-fill: #ffffff;
  --career-breadcrumbs: #000f9f;
  --career-overlay: rgba(15, 32, 108, 0.95);
  --career-overlay-90: rgba(15, 32, 108, 0.9);
  --career-overlay-50: rgba(15, 32, 108, 0.5);
  --career-overlay-20: rgba(15, 32, 108, 0.2);
  --career-header-bg: #0f206c;
  --career-header-text: var(--career-text-light);
  --career-splash-accent: var(--career-primary-dark);
  --career-cta-hover: #2f2f71;
  /* Per-mode --career-search-bg in career-site-modes.css; corporate sets navy in .corporate-career.mode-muted */
  /* CMS11 fonts.css html stack — overrides invited.css Montserrat on career pages */
  --career-font-body: SourceSansPro, PromixaNova, Arial, Helvetica, sans-serif;
  font-family: var(--career-font-body);
}

body.career-template .main-content {
  color: #000;
  line-height: 1.25;
}

/* CMS11 _typography.scss — body text scales up at tablet+ */
body.career-template p {
  font-size: 1rem;
  line-height: 1.5;
}

@media screen and (min-width: 48em) {
  body.career-template p {
    font-size: 1.25rem;
  }
}

body.career-template .main-content .wysiwyg-container,
body.career-template .career-club-page__main .wysiwyg-container,
body.career-template .career-club-page__main .career-content-block {
  color: inherit;
}

body.career-template .main-content :is(p, h1, h2, h3, h4, h5, h6, a, input, label, span) {
  border-color: transparent;
}

body.career-template .career-search-results-block,
body.career-template .career-search-results-block :is(h1, h2, h3, h4, h5, h6, a, button, input, th, td, li, span, label, p),
body.career-template .main-content,
body.career-template .main-content :is(h1, h2, h3, h4, h5, h6, a, button, input, label, span, p, li, div),
body.career-template .career-job-description,
body.career-template .career-job-description :is(h1, h2, h3, h4, h5, h6, a, button, p, li, strong, span, div),
body.career-template .career-search-block,
body.career-template .career-search-block :is(a, button, input, label, span),
body.career-template .career-club-list-block,
body.career-template .career-club-list-block :is(a, h1, span, div),
body.career-template .wysiwyg,
body.career-template .wysiwyg :is(h1, h2, h3, h4, h5, h6, a, p, li, span, div),
body.career-template .wysiwyg-container,
body.career-template footer.ftv2,
body.career-template footer.ftv2 :is(a, button, span, li, p, address, div) {
  font-family: inherit;
}

/* ===========================
   Career site header
   =========================== */
body.career-template .career-site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--career-header-bg);
  color: var(--career-header-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

body.career-template .career-site-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

body.career-template .career-site-header__logo-image {
  display: block;
  max-height: 3.25rem;
  max-width: min(18rem, 70vw);
  width: auto;
  height: auto;
  object-fit: contain;
}

body.career-template .career-site-header__logo-text {
  font-family: Lora, Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

body.career-template .career-site-header__accent {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
}

body.career-template .career-site-header-spacer {
  height: 5rem;
}

body.career-template .career-club-page__hero,
body.career-template .career-club-page__main,
body.career-template .hero-page__hero,
body.career-template .hero-page__main {
  width: 100%;
}

body.career-template .career-site-header .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.career-template .career-site-header__logo-badge + .career-site-header__logo-text {
  margin-left: 0.5rem;
}

/* CMS11 header.transparent — gradient overlay on hero, solid navy after scroll (.light) */
body.career-template .career-site-header.header.transparent:not(.light):not(.aux) {
  background: linear-gradient(
    180deg,
    rgba(83, 83, 83, 0.2) 0%,
    rgba(161, 161, 161, 0.0461538) 80%,
    rgba(185, 185, 185, 0) 100%
  ) !important;
  backdrop-filter: blur(6px);
  box-shadow: none;
}

body.career-template .career-site-header.header.transparent:not(.light) .career-site-header__accent {
  display: none;
}

@media (min-width: 64em) {
  body.career-template .career-site-header.header.transparent:not(.light):not(.aux) {
    padding-bottom: 2rem;
    min-height: 6.65rem;
    height: 6.65rem;
  }
}

body.career-template.career-splash .career-site-header-spacer {
  display: none;
  height: 0;
}

body.career-template.career-splash .club-page > .main-content > div:first-child .image-carousel__container,
body.career-template.career-splash .hero-page__main > div:first-child .image-carousel__container {
  margin-top: 0;
}

/* ===========================
   Career job description page
   =========================== */
body.career-template .career-job-description {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  color: #000;
}

body.career-template .career-job-description h1,
body.career-template .career-job-description h2,
body.career-template .career-job-description a {
  line-height: 1.5;
}

body.career-template .career-job-description h1 {
  text-transform: uppercase;
  font-weight: bold;
}

body.career-template .career-job-description h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 20px 0 10px;
}

body.career-template .career-job-description .job-description-section p {
  color: #000;
  font-size: 20px;
  line-height: 1.5;
}

body.career-template .career-job-description a {
  text-decoration: none;
  transition: all 0.3s ease;
}

body.career-template .career-job-description .block-element,
body.career-template .career-job-description .jdp-join-link,
body.career-template .career-job-description .apply-button {
  display: block;
}

body.career-template .career-job-description .apply-button {
  text-align: center;
}

body.career-template .career-job-description .jdp-title-inner-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  width: 100%;
  background-color: transparent;
}

body.career-template .career-job-description .jdp-title-inner-container .jdp-title-block-position {
  flex: 3;
  text-align: left;
}

body.career-template .career-job-description .jdp-title-inner-container .jdp-title-block-position .jdp-job-title {
  font-weight: 600;
  font-size: 24px;
  margin-top: 0;
  padding-bottom: 15px;
  text-transform: capitalize;
}

body.career-template .career-job-description .jdp-title-inner-container .jdp-title-block-position .job-date-posted {
  padding-top: 10px;
}

body.career-template .career-job-description .jdp-title-inner-container .jdp-top-apply-block-position {
  flex: 1;
}

body.career-template .career-job-description .jdp-apply-section {
  width: 190px;
}

body.career-template .career-job-description .jdp-join-link {
  margin: 10px 10px 20px;
  text-align: center;
}

body.career-template .career-job-description .apply-button {
  padding: 8.5px 15px;
  border: 2px solid transparent;
  font-size: 18px;
  max-width: 187px;
}

body.career-template .career-job-description .jdp-title-job-at {
  visibility: hidden;
}

body.career-template .career-job-description .job-section-container {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  line-height: 1.25;
}

body.career-template .career-job-description .job-section-container .job-description-section,
body.career-template .career-job-description .job-section-container .job-snapshot-section {
  flex: 3;
  border-top: 3px solid #b1b1b1;
  border-radius: 3px 3px 0 0;
  margin: 10px 15px;
  line-height: 1.25;
}

body.career-template .career-job-description .job-section-container .job-description-apply {
  border-top: 3px solid #b1b1b1;
  border-radius: 3px 3px 0 0;
}

body.career-template .career-job-description .job-section-container .job-snapshot-section {
  flex: 1;
}

body.career-template .career-job-description .job-section-container .job-snapshot-section .snapshot-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

body.career-template .career-job-description .job-section-container .job-snapshot-section .snapshot-item svg {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  color: #b1b1b1;
}

body.career-template .career-job-description .job-section-container .job-snapshot-section .snapshot-item .snapshot-text h3 {
  font-size: 1.17em;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.25;
}

body.career-template .career-job-description .job-section-container .job-snapshot-section .snapshot-item .snapshot-text p {
  margin: 0;
  color: #000;
  font-size: 20px;
  line-height: 1.5;
}

body.career-template .career-job-description .missing-job-bar {
  color: var(--career-text-dark);
  width: 100%;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  body.career-template .career-job-description .jdp-title-block-position,
  body.career-template .career-job-description .jdp-top-apply-block-position {
    display: block;
    padding: 0;
  }

  body.career-template .career-job-description .apply-button {
    order: 1;
    margin-top: 20px;
  }

  body.career-template .career-job-description .jdp-title-inner-container {
    flex-direction: column;
    align-items: center;
  }

  body.career-template .career-job-description .job-section-container {
    flex-direction: column-reverse;
  }

  body.career-template .career-job-description .job-description-section p {
    font-size: 16px;
    line-height: 1.5;
  }

  body.career-template .career-job-description .job-section-container .job-snapshot-section .snapshot-item .snapshot-text p {
    font-size: 16px;
    line-height: 1.5;
  }
}

@media only screen and (min-width: 768px) {
  body.career-template .career-job-description .jdp-title-block-position {
    display: table-cell;
    padding-right: 20px;
  }

  body.career-template .career-job-description .jdp-top-apply-block-position {
    display: flex;
    justify-content: flex-end;
  }

  body.career-template .career-job-description .jdp-apply-section {
    text-align: right;
  }

  body.career-template .career-job-description .apply-button {
    margin-right: 0;
  }

  body.career-template .career-job-description .jdp-title-inner-container .jdp-title-block-position .jdp-job-title {
    font-size: 36px;
  }

  body.career-template .career-job-description .job-description-apply {
    padding: 20px 0 10px;
  }
}

/* ===========================
   Corporate careers home (CMS11 NavigationSplashPage / FooterInvited)
   club-corp WYSIWYG palette + invited navy shell for header/search/footer
   =========================== */
body.career-template.corporate-career.mode-muted {
  --career-search-bg: #0f206c;
  --career-header-bg: #0f206c;
  --career-splash-accent: #0f206c;
  --career-cta-hover: #2f2f71;
  --career-footer-bg: #0f206c;
  /* CMS11 NavigationSplashPage/Index.cshtml — navy overlays on bg-secondary-dark blocks */
  --career-overlay: rgba(15, 32, 108, 0.95);
  --career-overlay-90: rgba(15, 32, 108, 0.9);
  --career-overlay-50: rgba(15, 32, 108, 0.5);
  --career-overlay-20: rgba(15, 32, 108, 0.2);
}

body.career-template.corporate-career.mode-muted .career-site-header.mode-muted.light,
body.career-template.corporate-career.mode-muted .career-site-header.mode-muted:not(.transparent) {
  background: #0f206c !important;
}

body.career-template.corporate-career.mode-muted .career-search-block,
body.career-template.corporate-career .career-search-block.mode-muted {
  background-color: #0f206c !important;
}

/* Match main-site FooterNavigationV2 (.ftv2) tokens on corporate careers */
body.career-template.corporate-career.mode-muted footer.ftv2 {
  --ft-bg: #f5f2ee;
  --ft-ink: #1f2937;
  --ft-muted: rgba(31, 41, 55, 0.78);
  --ft-rule: rgba(17, 24, 39, 0.12);
  --ft-icon: rgba(31, 41, 55, 0.72);
  background: var(--ft-bg) !important;
  color: var(--ft-ink) !important;
}

body.career-template.corporate-career.mode-muted footer.ftv2 .ft-wrap {
  background: transparent !important;
  color: inherit;
}

body.career-template.corporate-career.mode-muted footer.ftv2 .ft-h {
  color: var(--ft-ink) !important;
}

body.career-template.corporate-career.mode-muted footer.ftv2 .ft-contact,
body.career-template.corporate-career.mode-muted footer.ftv2 .ft-list,
body.career-template.corporate-career.mode-muted footer.ftv2 .ft-socialLabel,
body.career-template.corporate-career.mode-muted footer.ftv2 .ft-bottom,
body.career-template.corporate-career.mode-muted footer.ftv2 .ft-legalLinks,
body.career-template.corporate-career.mode-muted footer.ftv2 .ft-list a {
  color: var(--ft-muted) !important;
}

body.career-template.corporate-career.mode-muted footer.ftv2 .ft-icons a {
  color: var(--ft-icon) !important;
}

body.career-template.corporate-career.mode-muted footer.ftv2 .ft-rule {
  border-top-color: var(--ft-rule) !important;
}

/* CMS11 NavigationSplashPage/Index.cshtml — navy search-results accents on corporate careers */
body.career-template.corporate-career.mode-muted .career-search-results-block .search-filters .desktop-facets .caret-facet-category-header {
  background-color: #0f206c !important;
}

body.career-template.corporate-career.mode-muted .career-search-results-block .search-filters .desktop-facets .view-facet-btn-container a,
body.career-template.corporate-career.mode-muted .career-search-results-block a,
body.career-template.corporate-career.mode-muted .career-search-results-block table tbody tr td a {
  color: #0f206c !important;
}

body.career-template.corporate-career.mode-muted .career-search-results-block::selection,
body.career-template.corporate-career.mode-muted .career-search-results-block::-moz-selection {
  background: #0f206c !important;
}

body.career-template.corporate-career.mode-muted .career-search-results-block table thead tr th a .sort-icon {
  fill: #0f206c !important;
}

/* ===========================
   Mode-muted theming (CMS11 NavigationSplashPage)
   =========================== */
body.career-template.mode-muted .career-search-block,
body.career-template .career-search-block.mode-muted {
  background-color: var(--career-search-bg, var(--career-secondary-dark)) !important;
  color: var(--career-text-light);
}

body.career-template.mode-muted .career-job-description-page .career-search-block,
body.career-template .career-job-description-page .career-search-block.mode-muted {
  background-color: var(--career-splash-accent) !important;
}

body.career-template.mode-muted .career-search-block .form-control,
body.career-template .career-search-block.mode-muted .form-control {
  color: var(--career-text-light);
  border-bottom: 4px solid var(--career-text-light);
}

body.career-template.mode-muted .career-search-block .form-control::placeholder,
body.career-template .career-search-block.mode-muted .form-control::placeholder {
  color: var(--career-text-light);
}

body.career-template.mode-muted .career-search-block .link-container .custom-link,
body.career-template .career-search-block.mode-muted .link-container .custom-link {
  color: var(--career-text-light);
}

body.career-template.mode-muted .career-search-block a.search-btn,
body.career-template .career-search-block.mode-muted a.search-btn {
  color: var(--career-text-light) !important;
  border: 2px solid var(--career-text-light);
}

body.career-template.mode-muted .career-search-block a.search-btn:hover,
body.career-template.mode-muted .career-search-block a.search-btn:active,
body.career-template.mode-muted .career-search-block a.search-btn:focus,
body.career-template .career-search-block.mode-muted a.search-btn:hover,
body.career-template .career-search-block.mode-muted a.search-btn:active,
body.career-template .career-search-block.mode-muted a.search-btn:focus {
  background-color: var(--career-text-light);
  color: var(--career-secondary-dark) !important;
}

body.career-template.mode-muted .career-search-results-block .search-filters .desktop-facets .caret-facet-category-header,
body.career-template .career-search-results-block.mode-muted .search-filters .desktop-facets .caret-facet-category-header {
  background-color: var(--career-secondary-dark) !important;
  color: var(--career-text-light) !important;
}

body.career-template.mode-muted .career-search-results-block .pagination ul > li > a:hover,
body.career-template.mode-muted .career-search-results-block .pagination ul > li > a:active,
body.career-template.mode-muted .career-search-results-block .pagination ul > li > a:focus,
body.career-template .career-search-results-block.mode-muted .pagination ul > li > a:hover,
body.career-template .career-search-results-block.mode-muted .pagination ul > li > a:active,
body.career-template .career-search-results-block.mode-muted .pagination ul > li > a:focus {
  color: var(--career-text-light) !important;
}

body.career-template.mode-muted .career-search-results-block .search-filters .desktop-facets .facet-collapsable a,
body.career-template .career-search-results-block.mode-muted .search-filters .desktop-facets .facet-collapsable a {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-muted .career-search-results-block .search-filters .desktop-facets .view-facet-btn-container a,
body.career-template .career-search-results-block.mode-muted .search-filters .desktop-facets .view-facet-btn-container a {
  color: var(--career-secondary-dark) !important;
}

body.career-template.mode-muted .career-search-results-block a,
body.career-template .career-search-results-block.mode-muted a {
  color: var(--career-secondary-dark) !important;
}

body.career-template.mode-muted .career-search-results-block::-moz-selection,
body.career-template .career-search-results-block.mode-muted::-moz-selection {
  background: var(--career-secondary-dark) !important;
}

body.career-template.mode-muted .career-search-results-block::selection,
body.career-template .career-search-results-block.mode-muted::selection {
  background: var(--career-secondary-dark) !important;
}

body.career-template.mode-muted .career-search-results-block table thead tr th a .sort-icon,
body.career-template .career-search-results-block.mode-muted table thead tr th a .sort-icon {
  fill: var(--career-secondary-dark) !important;
}

body.career-template.mode-muted .career-search-results-block table tbody tr td a,
body.career-template .career-search-results-block.mode-muted table tbody tr td a {
  color: var(--career-secondary-dark) !important;
}

body.career-template.mode-muted .career-job-description h1,
body.career-template .career-job-description.mode-muted h1 {
  color: var(--career-splash-accent) !important;
}

body.career-template.mode-muted .career-job-description h2,
body.career-template .career-job-description.mode-muted h2 {
  color: var(--career-splash-accent) !important;
}

body.career-template.mode-muted .career-job-description a,
body.career-template .career-job-description.mode-muted a {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-muted .career-job-description::-moz-selection,
body.career-template.mode-muted .career-job-description::selection,
body.career-template .career-job-description.mode-muted::-moz-selection,
body.career-template .career-job-description.mode-muted::selection {
  background: var(--career-splash-accent) !important;
  color: var(--career-text-light) !important;
}

body.career-template.mode-muted .career-job-description .jdp-title-inner-container,
body.career-template .career-job-description.mode-muted .jdp-title-inner-container {
  color: var(--career-text-light) !important;
}

body.career-template.mode-muted .career-job-description .jdp-title-inner-container .jdp-title-block-position .jdp-job-title,
body.career-template .career-job-description.mode-muted .jdp-title-inner-container .jdp-title-block-position .jdp-job-title {
  color: #000 !important;
}

body.career-template.mode-muted .career-job-description .jdp-title-inner-container .jdp-title-block-position .job-date-posted,
body.career-template .career-job-description.mode-muted .jdp-title-inner-container .jdp-title-block-position .job-date-posted {
  color: #000 !important;
}

body.career-template.mode-muted .career-job-description .apply-button,
body.career-template .career-job-description.mode-muted .apply-button {
  background-color: var(--career-splash-accent) !important;
  color: var(--career-text-light) !important;
}

body.career-template.mode-muted .career-job-description .apply-button:hover,
body.career-template.mode-muted .career-job-description .apply-button:focus,
body.career-template.mode-muted .career-job-description .apply-button:active,
body.career-template .career-job-description.mode-muted .apply-button:hover,
body.career-template .career-job-description.mode-muted .apply-button:focus,
body.career-template .career-job-description.mode-muted .apply-button:active {
  background-color: var(--career-text-light) !important;
  border-color: #000 !important;
  color: var(--career-splash-accent) !important;
}

/* ===========================
   Mode-dark theming (CMS11 _dark.scss / career-search.scss)
   Scoped to body.mode-dark only — does not affect mode-muted, mode-light, or mode-bold pages.
   =========================== */
body.career-template.mode-dark .career-site-header {
  background: var(--career-text-dark) !important;
  color: var(--career-text-light);
}

body.career-template.mode-dark .career-search-block,
body.career-template .career-search-block.mode-dark {
  background-color: var(--career-text-dark) !important;
  color: var(--career-text-light);
}

body.career-template.mode-dark .career-job-description-page .career-search-block,
body.career-template .career-job-description-page .career-search-block.mode-dark {
  background-color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-search-block .form-control,
body.career-template .career-search-block.mode-dark .form-control {
  color: var(--career-text-light);
  border-bottom: 4px solid var(--career-text-light);
}

body.career-template.mode-dark .career-search-block .form-control::placeholder,
body.career-template .career-search-block.mode-dark .form-control::placeholder {
  color: var(--career-text-light);
}

body.career-template.mode-dark .career-search-block .link-container .custom-link,
body.career-template .career-search-block.mode-dark .link-container .custom-link {
  color: var(--career-text-light);
}

body.career-template.mode-dark .career-search-block a.search-btn,
body.career-template .career-search-block.mode-dark a.search-btn {
  color: var(--career-text-light) !important;
  border: 2px solid var(--career-text-light);
}

body.career-template.mode-dark .career-search-block a.search-btn:hover,
body.career-template.mode-dark .career-search-block a.search-btn:active,
body.career-template.mode-dark .career-search-block a.search-btn:focus,
body.career-template .career-search-block.mode-dark a.search-btn:hover,
body.career-template .career-search-block.mode-dark a.search-btn:active,
body.career-template .career-search-block.mode-dark a.search-btn:focus {
  background-color: var(--career-text-light);
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-search-results-block .search-filters .desktop-facets .caret-facet-category-header,
body.career-template .career-search-results-block.mode-dark .search-filters .desktop-facets .caret-facet-category-header {
  background-color: var(--career-text-dark) !important;
  color: var(--career-text-light) !important;
}

body.career-template.mode-dark .career-search-results-block .pagination ul > li > a:hover,
body.career-template.mode-dark .career-search-results-block .pagination ul > li > a:active,
body.career-template.mode-dark .career-search-results-block .pagination ul > li > a:focus,
body.career-template .career-search-results-block.mode-dark .pagination ul > li > a:hover,
body.career-template .career-search-results-block.mode-dark .pagination ul > li > a:active,
body.career-template .career-search-results-block.mode-dark .pagination ul > li > a:focus {
  color: var(--career-text-light) !important;
}

body.career-template.mode-dark .career-search-results-block .search-filters .desktop-facets .facet-collapsable a,
body.career-template .career-search-results-block.mode-dark .search-filters .desktop-facets .facet-collapsable a {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-search-results-block .search-filters .desktop-facets .view-facet-btn-container a,
body.career-template .career-search-results-block.mode-dark .search-filters .desktop-facets .view-facet-btn-container a {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-search-results-block a,
body.career-template .career-search-results-block.mode-dark a {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-search-results-block::-moz-selection,
body.career-template .career-search-results-block.mode-dark::-moz-selection {
  background: var(--career-text-light) !important;
}

body.career-template.mode-dark .career-search-results-block::selection,
body.career-template .career-search-results-block.mode-dark::selection {
  background: var(--career-text-light) !important;
}

body.career-template.mode-dark .career-search-results-block table thead tr th a .sort-icon,
body.career-template .career-search-results-block.mode-dark table thead tr th a .sort-icon {
  fill: var(--career-text-light) !important;
}

body.career-template.mode-dark .career-search-results-block table tbody tr td a,
body.career-template .career-search-results-block.mode-dark table tbody tr td a {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-job-description h1,
body.career-template .career-job-description.mode-dark h1 {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-job-description h2,
body.career-template .career-job-description.mode-dark h2 {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-job-description a,
body.career-template .career-job-description.mode-dark a {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-job-description::-moz-selection,
body.career-template.mode-dark .career-job-description::selection,
body.career-template .career-job-description.mode-dark::-moz-selection,
body.career-template .career-job-description.mode-dark::selection {
  background: var(--career-text-dark) !important;
  color: var(--career-text-light) !important;
}

body.career-template.mode-dark .career-job-description .jdp-title-inner-container,
body.career-template .career-job-description.mode-dark .jdp-title-inner-container {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-job-description .jdp-title-inner-container .jdp-title-block-position .jdp-job-title,
body.career-template .career-job-description.mode-dark .jdp-title-inner-container .jdp-title-block-position .jdp-job-title {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-job-description .jdp-title-inner-container .jdp-title-block-position .job-date-posted,
body.career-template .career-job-description.mode-dark .jdp-title-inner-container .jdp-title-block-position .job-date-posted {
  color: var(--career-text-dark) !important;
}

body.career-template.mode-dark .career-job-description .apply-button,
body.career-template .career-job-description.mode-dark .apply-button {
  background-color: var(--career-text-dark) !important;
  color: var(--career-text-light) !important;
}

body.career-template.mode-dark .career-job-description .apply-button:hover,
body.career-template.mode-dark .career-job-description .apply-button:focus,
body.career-template.mode-dark .career-job-description .apply-button:active,
body.career-template .career-job-description.mode-dark .apply-button:hover,
body.career-template .career-job-description.mode-dark .apply-button:focus,
body.career-template .career-job-description.mode-dark .apply-button:active {
  background-color: var(--career-text-light) !important;
  border-color: var(--career-text-dark) !important;
  color: var(--career-text-dark) !important;
}

/* CMS11 mode-dark .corp-footer — mix($text-dark, white, ~80%) on production */
body.career-template.mode-dark footer.ftv2,
body.career-template.mode-dark:has(.career-job-description-page) footer.ftv2 {
  --ft-bg: #414141;
  background: #414141 !important;
}

/* Career footer — CMS11 FooterInvited look on shared FooterNavigationV2 (.ftv2) */
body.career-template footer.ftv2 {
  --ft-bg: #385879;
  --ft-ink: #2a2a2a;
  --ft-muted: #525252;
  --ft-rule: #e5e5e5;
  --ft-icon: #525252;
  background: #385879 !important;
  color: #525252;
  width: 100%;
}

/* Job details pages use club-corp footer shell on production */
body.career-template:has(.career-job-description-page) footer.ftv2 {
  --ft-bg: var(--career-footer-bg);
  background: var(--career-footer-bg) !important;
}

body.career-template footer.ftv2 .ft-wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background: #efefef;
  color: #525252;
  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: 400;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 2rem 1rem;
}

body.career-template footer.ftv2 a {
  color: inherit;
  text-decoration: none;
}

body.career-template footer.ftv2 a:hover {
  text-decoration: underline;
}

body.career-template footer.ftv2 .ft-brand > img {
  display: none !important;
}

body.career-template footer.ftv2 .ft-brandContact {
  gap: 0 !important;
}

/* CMS11 footer-logo slot; invited mark lives in .ft-bottomRight in markup */
body.career-template footer.ftv2 .ft-brand {
  width: 6rem;
  height: 0;
  margin: 0;
  padding: 2.5625rem 0 0;
}

body.career-template footer.ftv2 .ft-bottomRight {
  position: absolute;
  top: 2rem;
  left: 1rem;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 0;
  margin: 0;
  z-index: 1;
}

body.career-template footer.ftv2 .ft-bottomRight .ft-invited {
  position: static;
  opacity: 1;
  justify-content: flex-start;
  margin: 0;
}

body.career-template footer.ftv2 .ft-invited img {
  display: block;
  width: 6rem;
  max-width: 6rem;
  height: auto;
}

body.career-template footer.ftv2 .ft-top {
  display: block;
  width: 100%;
  gap: 0 !important;
  text-align: left;
}

body.career-template footer.ftv2 .ft-brand {
  justify-items: start;
}

body.career-template footer.ftv2 .ft-nav {
  justify-items: start;
  width: 100%;
  gap: 0 !important;
}

body.career-template footer.ftv2 .ft-rule {
  width: 100%;
}

body.career-template footer.ftv2 .ft-bottom {
  width: 100%;
}

body.career-template footer.ftv2 .ft-navGrid {
  grid-template-columns: 1fr;
  max-width: none;
  margin: 1.25rem 0 0;
  justify-items: start;
  text-align: left;
  gap: 1.5rem;
}

body.career-template footer.ftv2 .ft-col {
  text-align: left;
  width: 100%;
}

body.career-template footer.ftv2 .ft-connect {
  grid-column: auto;
  justify-self: start;
  text-align: left;
  margin-top: 0;
}

body.career-template footer.ftv2 .ft-bottomLeft {
  align-items: flex-start;
  justify-content: flex-start;
}

body.career-template footer.ftv2 .ft-contact {
  color: #525252;
  font-size: 0.875rem;
  line-height: 1.25;
  gap: 1.25rem;
}

body.career-template footer.ftv2 .ft-h {
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.125rem;
  text-transform: uppercase;
  color: #2a2a2a;
  margin-bottom: 1.75rem;
}

body.career-template footer.ftv2 .ft-list {
  gap: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.375rem;
  color: #525252;
}

body.career-template footer.ftv2 .ft-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

body.career-template footer.ftv2 .ft-icons {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 0;
}

body.career-template footer.ftv2 .ft-icons a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 0;
  color: #525252;
}

body.career-template footer.ftv2 .ft-icons img {
  width: 1.5rem;
  height: 1.5rem;
}

body.career-template footer.ftv2 .ft-socialLabel {
  display: inline !important;
  font-size: 0.875rem;
  line-height: 1.375rem;
  color: #525252;
}

body.career-template footer.ftv2 .ft-rule {
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  border-top-color: #e5e5e5;
}

body.career-template footer.ftv2 .ft-bottom {
  padding-top: 0;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: -0.01rem;
  color: #737373;
  text-align: left;
}

body.career-template footer.ftv2 .ft-bottomLeft {
  justify-content: flex-start;
}

body.career-template footer.ftv2 .ft-bottomLeft > div + div::before {
  color: #d4d4d4;
}

body.career-template footer.ftv2 .ft-legalLinks {
  color: #737373;
}

body.career-template footer.ftv2 .ft-legalLinks a + a::before {
  color: #d4d4d4;
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  body.career-template footer.ftv2 .ft-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
  }

  body.career-template footer.ftv2 .ft-brandContact {
    width: 50%;
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  body.career-template footer.ftv2 .ft-brand {
    width: 7rem;
    padding-top: 2.75rem;
  }

  body.career-template footer.ftv2 .ft-bottomRight {
    top: 4rem;
    left: 2rem;
  }

  body.career-template footer.ftv2 .ft-nav {
    width: 50%;
  }

  body.career-template footer.ftv2 .ft-navGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 0;
    justify-content: flex-start;
  }

  body.career-template footer.ftv2 .ft-col {
    width: calc(50% - 1rem);
    flex: 0 0 calc(50% - 1rem);
  }

  body.career-template footer.ftv2 .ft-invited img {
    width: 7rem;
    max-width: 7rem;
  }
}

@media screen and (min-width: 768px) {
  body.career-template footer.ftv2 .ft-wrap {
    padding: 4rem 2rem;
  }

  body.career-template footer.ftv2 .ft-top {
    text-align: left;
  }

  body.career-template footer.ftv2 .ft-brand {
    justify-items: start;
  }

  body.career-template footer.ftv2 .ft-contact {
    justify-items: start;
    text-align: left;
  }

  body.career-template footer.ftv2 .ft-navGrid {
    justify-items: start;
    text-align: left;
  }

  body.career-template footer.ftv2 .ft-col {
    text-align: left;
  }

  body.career-template footer.ftv2 .ft-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
  }

  body.career-template footer.ftv2 .ft-bottomLeft {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
  }

  body.career-template footer.ftv2 .ft-bottomLeft > div:first-child {
    border-right: 1px solid #d4d4d4;
    padding-right: 1.25rem;
    margin-right: 0;
  }

  body.career-template footer.ftv2 .ft-bottomLeft > div + div::before {
    content: none;
    margin: 0;
  }
}

@media screen and (min-width: 1024px) {
  body.career-template footer.ftv2 .ft-wrap {
    padding: 6rem 5rem;
  }

  body.career-template footer.ftv2 .ft-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
  }

  body.career-template footer.ftv2 .ft-brandContact {
    width: 40%;
    flex: 0 0 40%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.career-template footer.ftv2 .ft-brand {
    width: 8.125rem;
    padding-top: 0;
    height: auto;
    margin: 0 0 2.5rem;
  }

  body.career-template footer.ftv2 .ft-bottomRight {
    top: 6rem;
    left: 5rem;
  }

  body.career-template footer.ftv2 .ft-contact {
    align-items: flex-start;
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
  }

  body.career-template footer.ftv2 .ft-nav {
    width: 60%;
    flex: 0 0 60%;
    display: block;
  }

  body.career-template footer.ftv2 .ft-navGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2.125rem;
    margin-top: 0;
    max-width: none;
    width: 100%;
  }

  body.career-template footer.ftv2 .ft-col {
    width: calc(25% - 1.6rem);
    flex: 0 0 calc(25% - 1.6rem);
    min-width: 0;
  }

  body.career-template footer.ftv2 .ft-connect {
    margin-top: 0;
  }

  body.career-template footer.ftv2 .ft-invited img {
    width: 8.125rem;
    max-width: 8.125rem;
  }

  body.career-template footer.ftv2 .ft-h {
    font-size: 1rem;
    letter-spacing: 0.15rem;
    margin-bottom: 2rem;
  }

  body.career-template footer.ftv2 .ft-rule {
    margin-top: 3rem;
    margin-bottom: 1.75rem;
  }
}

@media screen and (max-width: 767px) {
  body.career-template footer.ftv2 .ft-bottom {
    display: block;
    font-size: 0.6875rem;
    line-height: 1rem;
  }

  body.career-template footer.ftv2 .ft-bottomLeft {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  body.career-template footer.ftv2 .ft-bottomLeft > div + div::before {
    content: none;
    margin: 0;
  }

  body.career-template footer.ftv2 .ft-h {
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: 0.1rem;
    margin-bottom: 1.5rem;
  }

  body.career-template footer.ftv2 .ft-contact {
    justify-items: start;
    text-align: left;
    line-height: 1.25;
  }
}

/* Footer and breadcrumbs (CMS11 FooterInvited/Index.cshtml) */
body.career-template.mode-muted .breadcrumbs__list {
  background: var(--career-breadcrumbs) !important;
}

/* Content block overlays (CMS11 bg-secondary-dark on career pages) */
body.career-template .bg-secondary-dark .content-block__overlay {
  background: var(--career-overlay) !important;
}

body.career-template .content-header::after {
  background: var(--career-overlay) !important;
}

body.career-template .bg-secondary-dark .cta-card__link::before {
  background: var(--career-overlay) !important;
}

body.career-template .bg-secondary-dark .cta-card__hover {
  background: var(--career-overlay) !important;
}

body.career-template .bg-secondary-dark .detail-card__trigger {
  background: var(--career-overlay) !important;
}

body.career-template .bg-secondary-dark .detail-card__content {
  background: var(--career-overlay) !important;
}

body.career-template .bg-secondary-dark .featured-events__slide::before {
  background: var(--career-overlay-90) !important;
}

body.career-template .bg-secondary-dark.-peekaboo .featured-events__content {
  background: var(--career-overlay-90) !important;
}

body.career-template .featured-events.bg-secondary-dark .-noImages {
  background: var(--career-overlay-90) !important;
}

body.career-template .bg-secondary-dark .flickity-prev-next-button,
body.career-template .bg-secondary-dark .carousel-controls .flickity-prev-next-button {
  background: var(--career-overlay-50) !important;
}

body.career-template .secondary-dark .timeline__item__content::before {
  border: 2px solid var(--career-overlay-20) !important;
}

body.career-template.mode-muted .bg-light .cta-color-default:hover {
  background-color: var(--career-cta-hover) !important;
  color: var(--career-text-light);
  border-color: var(--career-cta-hover) !important;
}

/* Career club list (CMS11 Views/CareerClubList/career-club-list.scss) */
body.career-template .career-club-list-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

body.career-template .career-club-list-header {
  font-size: 2em;
  margin-bottom: 20px;
}

body.career-template .career-club-list-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

body.career-template .career-club-list-column {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  text-align: center;
}

body.career-template .career-club-list-column a {
  display: block;
  padding: 10px 0;
  margin: 5px 0;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

@media (max-width: 768px) {
  body.career-template .career-club-list-columns {
    justify-content: center;
    gap: 0;
  }

  body.career-template .career-club-list-column {
    max-width: 80%;
    padding: 0;
  }
}
