.bds-jobs,
.bds-single-page {
  --bds-navy: #0d3a55;
  --bds-navy-deep: #082d43;
  --bds-gold: #cca660;
  --bds-gold-light: #e1c078;
  --bds-cream: #f5f0e8;
  --bds-white: #fffdf8;
  --bds-ink: #14384c;
  color: var(--bds-ink);
}

.bds-jobs *,
.bds-single-page * {
  box-sizing: border-box;
}

.bds-container {
  width: min(1180px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.bds-jobs-page-row > .vc_column_container > .vc_column-inner,
.bds-template-hero-row > .vc_column_container > .vc_column-inner,
.bds-template-form-row > .vc_column_container > .vc_column-inner {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.bds-jobs {
  position: relative;
  overflow: hidden;
  padding: 92px 0 105px;
  background-color: var(--bds-cream);
  background-image:
    radial-gradient(circle at 20% 15%, rgba(204, 166, 96, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 80%, rgba(13, 58, 85, 0.055) 0 1px, transparent 2px);
  background-size: 31px 31px, 23px 23px;
}

.bds-jobs::before,
.bds-jobs::after {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 2px solid rgba(204, 166, 96, 0.2);
  border-radius: 50%;
  content: "";
}

.bds-jobs::before {
  top: -150px;
  left: -95px;
}

.bds-jobs::after {
  right: -125px;
  bottom: -145px;
}

.bds-section-heading,
.bds-application__heading {
  max-width: 800px;
  margin: 0 auto 54px;
  text-align: center;
}

.bds-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--bds-gold);
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}

.bds-eyebrow::before,
.bds-eyebrow::after {
  width: 76px;
  height: 2px;
  background: var(--bds-gold);
  content: "";
}

.bds-eyebrow span {
  position: relative;
  padding-bottom: 8px;
}

.bds-eyebrow span::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  height: 6px;
  color: var(--bds-gold);
  font-size: 7px;
  letter-spacing: 2px;
  line-height: 6px;
  content: "★★★★★★★★★★★★";
}

.bds-section-heading h1,
.bds-single-hero h1,
.bds-application__heading h2 {
  margin: 12px 0 18px;
  color: var(--bds-navy);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(204, 166, 96, 0.55);
}

.bds-section-heading > p,
.bds-application__heading > p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

.bds-jobs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 32px;
  align-items: start;
}

.bds-jobs-layout--wide {
  grid-template-columns: minmax(0, 1fr);
}

.bds-jobs-list {
  display: grid;
  gap: 18px;
}

.bds-job-card {
  position: relative;
  padding: 28px 30px 26px;
  border: 1px solid rgba(13, 58, 85, 0.14);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 10px 26px rgba(8, 45, 67, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.bds-job-card:hover,
.bds-job-card:focus-within {
  border-color: var(--bds-gold);
  box-shadow: 0 15px 34px rgba(8, 45, 67, 0.12);
  transform: translateY(-3px);
}

.bds-job-card__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
}

.bds-job-card__overlay:focus-visible {
  outline: 3px solid var(--bds-gold);
  outline-offset: 3px;
}

.bds-job-card__meta,
.bds-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bds-job-card__meta span,
.bds-job-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(204, 166, 96, 0.16);
  color: var(--bds-navy);
  font-size: 13px;
  line-height: 1.2;
}

.bds-job-card h2 {
  margin: 17px 0 10px;
  color: var(--bds-navy);
  font-size: 28px;
  line-height: 1.12;
  text-transform: uppercase;
}

.bds-job-card p {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
}

.bds-text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--bds-gold);
  color: var(--bds-navy);
  font-size: 14px;
  text-transform: uppercase;
}

.bds-contact-card {
  position: sticky;
  top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 25px;
  border: 2px solid var(--bds-gold);
  border-radius: 18px;
  background: var(--bds-navy);
  color: var(--bds-white);
  text-align: center;
  box-shadow: 8px 8px 0 rgba(204, 166, 96, 0.28);
}

.bds-contact-card__logo {
  width: auto;
  max-width: 155px;
  max-height: 92px;
  margin: 0 auto 22px;
  object-fit: contain;
}

.bds-contact-card__eyebrow {
  margin-bottom: 6px;
  color: var(--bds-gold-light);
  font-size: 13px;
  text-transform: uppercase;
}

.bds-contact-card h2 {
  margin: 0 0 18px;
  color: var(--bds-white);
  font-size: 25px;
  line-height: 1.1;
  text-transform: uppercase;
}

.bds-contact-card > a:not(.bds-button) {
  position: relative;
  z-index: 2;
  margin: 3px 0;
  color: var(--bds-white);
  text-decoration: none;
}

.bds-contact-card > a:not(.bds-button):hover {
  color: var(--bds-gold-light);
}

.bds-empty-state {
  padding: 42px;
  border: 1px solid rgba(13, 58, 85, 0.14);
  border-radius: 16px;
  background: var(--bds-white);
  text-align: center;
}

.bds-empty-state h2 {
  margin-top: 0;
  color: var(--bds-navy);
  text-transform: uppercase;
}

.bds-single-page {
  overflow: hidden;
  background: var(--bds-cream);
}

.bds-template-hero-row,
.bds-template-form-row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.bds-template-content-row {
  width: min(1180px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  padding-top: 76px;
  padding-bottom: 80px;
}

.bds-template-content-row::before,
.bds-template-content-row::after {
  display: table;
  content: "";
}

.bds-template-content-row::after {
  clear: both;
}

.bds-single-hero {
  padding: 80px 0 76px;
  background-color: var(--bds-navy);
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.025), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(204, 166, 96, 0.16) 0 2px, transparent 3px);
  background-size: auto, 29px 29px;
}

.bds-single-hero__inner {
  position: relative;
}

.bds-single-hero .bds-eyebrow {
  justify-content: flex-start;
  margin-top: 36px;
}

.bds-single-hero .bds-eyebrow::before {
  display: none;
}

.bds-single-hero h1 {
  max-width: 960px;
  margin-top: 18px;
  color: var(--bds-gold-light);
  font-size: clamp(44px, 6vw, 78px);
  text-shadow: 3px 3px 0 var(--bds-navy-deep);
}

.bds-single-hero .bds-job-meta span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--bds-white);
}

.bds-back-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--bds-gold);
  color: var(--bds-white);
  text-decoration: none;
}

.bds-back-link:hover {
  color: var(--bds-gold-light);
}

.bds-job-content {
  padding-right: 38px;
}

.bds-job-section + .bds-job-section {
  margin-top: 48px;
  padding-top: 42px;
  border-top: 1px solid rgba(13, 58, 85, 0.18);
}

.bds-job-section h2 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 13px;
  color: var(--bds-navy);
  font-size: 31px;
  line-height: 1.1;
  text-transform: uppercase;
}

.bds-job-section h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 88px;
  height: 3px;
  background: var(--bds-gold);
  content: "";
}

.bds-rich-text,
.bds-rich-text p,
.bds-rich-text li {
  font-size: 17px;
  line-height: 1.75;
}

.bds-rich-text p {
  margin-top: 0;
  margin-bottom: 15px;
}

.bds-rich-text ul,
.bds-rich-text ol {
  margin: 16px 0 0;
  padding-left: 24px;
}

.bds-rich-text li {
  margin-bottom: 8px;
}

.bds-rich-text li::marker {
  color: var(--bds-gold);
}

.bds-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 24px;
  padding: 13px 27px;
  border: 0;
  border-radius: 999px;
  background: var(--bds-gold);
  box-shadow: 3px 4px 0 var(--bds-white);
  color: var(--bds-navy-deep);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.bds-button:hover,
.bds-button:focus-visible {
  box-shadow: 1px 2px 0 var(--bds-white);
  color: var(--bds-navy-deep);
  transform: translate(2px, 2px);
}

.bds-button--compact {
  min-height: 46px;
  padding: 11px 21px;
}

.bds-application {
  padding: 84px 0 94px;
  background: var(--bds-navy);
  color: var(--bds-white);
}

.bds-application__heading h2 {
  color: var(--bds-white);
  font-size: clamp(38px, 5vw, 64px);
  text-shadow: 3px 3px 0 var(--bds-navy-deep);
}

.bds-application-form {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px;
  border: 2px solid var(--bds-gold);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.bds-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bds-form-grid label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--bds-gold-light);
}

.bds-form-grid input,
.bds-form-grid textarea {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(204, 166, 96, 0.72);
  border-radius: 8px;
  background: var(--bds-white);
  color: var(--bds-navy-deep);
}

.bds-form-grid input:focus,
.bds-form-grid textarea:focus {
  border-color: var(--bds-gold-light);
  outline: 3px solid rgba(204, 166, 96, 0.2);
}

.bds-form-grid input[type="file"] {
  padding: 10px;
}

.bds-form-grid small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.75);
}

.bds-form-grid__wide {
  grid-column: 1 / -1;
}

.bds-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.55;
}

.bds-consent input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.bds-consent a {
  color: var(--bds-gold-light);
}

.bds-form-message {
  max-width: 900px;
  margin: 0 auto 22px;
  padding: 16px 18px;
  border-radius: 10px;
}

.bds-form-message--success {
  border: 1px solid #91cf9e;
  background: rgba(92, 174, 108, 0.18);
}

.bds-form-message--error {
  border: 1px solid #efa6a6;
  background: rgba(206, 75, 75, 0.17);
}

.bds-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.bds-template-hint {
  padding: 18px;
  border: 2px dashed var(--bds-gold);
  background: rgba(204, 166, 96, 0.08);
  color: var(--bds-navy);
  text-align: center;
}

@media (max-width: 900px) {
  .bds-container,
  .bds-template-content-row {
    width: min(100% - 40px, 760px) !important;
  }

  .bds-jobs {
    padding-top: 68px;
    padding-bottom: 76px;
  }

  .bds-jobs-layout {
    grid-template-columns: 1fr;
  }

  .bds-contact-card {
    position: static;
    max-width: none;
  }

  .bds-template-content-row {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .bds-template-content-row > .vc_column_container {
    float: none !important;
    width: 100% !important;
  }

  .bds-template-content-row > .vc_column_container + .vc_column_container {
    margin-top: 42px;
  }

  .bds-job-content {
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .bds-container,
  .bds-template-content-row {
    width: calc(100% - 32px) !important;
  }

  .bds-jobs {
    padding-top: 50px;
    padding-bottom: 58px;
  }

  .bds-section-heading,
  .bds-application__heading {
    margin-bottom: 36px;
  }

  .bds-eyebrow {
    gap: 9px;
    font-size: 13px;
  }

  .bds-eyebrow::before,
  .bds-eyebrow::after {
    width: 32px;
  }

  .bds-section-heading h1,
  .bds-single-hero h1,
  .bds-application__heading h2 {
    font-size: 38px;
    line-height: 1.02;
    text-shadow: 2px 2px 0 rgba(204, 166, 96, 0.5);
  }

  .bds-section-heading > p,
  .bds-application__heading > p {
    font-size: 16px;
    line-height: 1.55;
  }

  .bds-job-card {
    padding: 23px 20px 22px;
  }

  .bds-job-card h2 {
    font-size: 24px;
  }

  .bds-job-card p {
    font-size: 15px;
    line-height: 1.58;
  }

  .bds-single-hero {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .bds-single-hero .bds-eyebrow {
    margin-top: 28px;
  }

  .bds-template-content-row {
    padding-top: 46px;
    padding-bottom: 50px;
  }

  .bds-job-section + .bds-job-section {
    margin-top: 35px;
    padding-top: 31px;
  }

  .bds-job-section h2 {
    font-size: 25px;
  }

  .bds-rich-text,
  .bds-rich-text p,
  .bds-rich-text li {
    font-size: 16px;
    line-height: 1.65;
  }

  .bds-contact-card {
    padding: 25px 20px;
  }

  .bds-application {
    padding-top: 55px;
    padding-bottom: 64px;
  }

  .bds-application-form {
    padding: 22px 18px;
  }

  .bds-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bds-form-grid__wide {
    grid-column: auto;
  }

  .bds-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bds-job-card,
  .bds-button {
    transition: none;
  }
}
