.career-static {
  background: var(--ds-navy, #0a1526);
}

.cd-hero {
  background: var(
    --ds-hero-bg,
    linear-gradient(180deg, #052536 0%, #021b28 100%)
  );
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--ds-header-h, 88px) + 2.5rem);
  padding-bottom: 5rem;
}

.cd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ds-hero-glow);
  pointer-events: none;
}

.cd-hero-inner {
  position: relative;
  z-index: 1;
}

.cd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ds-font-body);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.cd-breadcrumb a {
  color: var(--ds-color-gray, #c2c6d6);
  text-decoration: none;
  font-weight: 400;
  line-height: 155%;
}

.cd-breadcrumb a:hover {
  color: var(--ds-color-accent, #31aaec);
}

.cd-breadcrumb-sep {
  color: var(--ds-color-gray, #c2c6d6);
  flex-shrink: 0;
}

.cd-breadcrumb-current {
  font-weight: 600;
  line-height: 155%;
  background: var(
    --ds-gradient-text,
    linear-gradient(90deg, #31aaec 28.27%, #167cb4 82.58%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cd-hero-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.career-static .cd-hero-head h1 {
  color: var(--ds-color-white, #fff);
  margin: 0;
}

.cd-hero-head .btn-primary {
  padding: 10px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 155%;
}

.cd-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cd-info-card {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 20px;
  padding: 16px 24px;
  background: var(--card-bg, linear-gradient(180deg, #052536 0%, #021b28 100%));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cd-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(10, 21, 38, 0.25);
}

.cd-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(49, 170, 236, 0.1);
  color: var(--ds-color-accent, #31aaec);
}

.cd-info-label {
  display: block;
  font-family: var(--ds-font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 155%;
  color: var(--ds-color-gray, #c2c6d6);
  margin-bottom: 0.15rem;
}

.cd-info-value {
  display: block;
  font-family: var(--ds-font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 155%;
  color: var(--ds-color-white, #fff);
}

@media (max-width: 900px) {
  .cd-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cd-info-grid {
    grid-template-columns: 1fr;
  }
}

.cd-content {
  padding: 0 0 5rem;
}

.cd-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.cd-main,
.cd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (max-width: 960px) {
  .cd-content-grid {
    grid-template-columns: 1fr;
  }
}

/* Collapsible section (About the Role / Key Responsibilities) */

.cd-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border: 1px solid #31aaec;
  border-radius: 16px;
  padding: 32px;
}

.cd-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}

.cd-section-head::-webkit-details-marker {
  display: none;
}

.cd-section[open] .cd-section-head {
  margin-bottom: 20px;
}

.career-static .cd-section-head span.heading-sm {
  color: var(--ds-color-white, #fff);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 155%;
}

.cd-section-toggle {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.cd-section-toggle-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.cd-section-toggle-minus {
  display: none;
}

.cd-section[open] .cd-section-toggle-plus {
  display: none;
}

.cd-section[open] .cd-section-toggle-minus {
  display: block;
}

.cd-section-body {
  align-self: stretch;
  color: var(--ds-color-gray, #c2c6d6);
  font-size: 1rem;
  font-weight: 400;
  line-height: 155%;
}

.cd-section-body > *:first-child {
  margin-top: 0;
}

.cd-section-body > *:last-child {
  margin-bottom: 0;
}

/* Rich text output from the WYSIWYG fields (Key Responsibilities,
   Qualifications, Nice to Have, Benefits, Skills lists) */

.cd-rich-list {
  color: var(--ds-color-gray, #c2c6d6);
  font-size: 1rem;
  font-weight: 400;
  line-height: 155%;
}

.cd-rich-list h3,
.cd-rich-list h4 {
  font-family: var(--ds-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ds-color-white, #fff);
  margin: 1.5rem 0 0.5rem;
}

.cd-rich-list > h3:first-child,
.cd-rich-list > h4:first-child {
  margin-top: 0;
}

.cd-rich-list p {
  margin: 0 0 0.75rem;
}

.cd-rich-list ul,
.cd-rich-list ol {
  margin: 0 0 0.75rem;
  padding-left: 0;
  list-style: none;
}

.cd-rich-list ul ul,
.cd-rich-list ol ul {
  margin: 0.5rem 0 0;
}

.cd-rich-list li {
  position: relative;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  padding-left: 1.25rem;
}

.cd-rich-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ds-color-white, #fff);
}

.cd-rich-list li:last-child {
  margin-bottom: 0;
}

.cd-rich-list strong {
  color: var(--ds-color-white, #fff);
}

/* Sidebar cards */

.cd-side-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 20px;
  border: 1px solid #31aaec;
  border-radius: 16px;
  padding: 32px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cd-side-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(10, 21, 38, 0.25);
}

.career-static .cd-side-card h3 {
  color: var(--ds-color-white, #fff);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 155%;
  margin: 0;
}

/* Compensation & Benefits */
.cd-side-card-accent {
  border-radius: 16px;
  border: 1px solid rgba(49, 170, 236, 0.1);
  background: rgba(17, 24, 39, 0.25);
}

.cd-skills-group {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 2.5rem;
}

.modal-backdrop.cd-apply-backdrop.show {
  display: block;
  opacity: 1;
  background: linear-gradient(180deg, rgba(5, 37, 54, 0.85) 0%, rgba(2, 27, 40, 0.85) 100%);
}

.cd-apply-modal .modal-content {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08);
}

.cd-apply-modal .modal-header {
  width: 100%;
  align-items: center;
  padding: 0;
  border-bottom: none;
}

.cd-apply-modal .modal-header h2 {
  margin: 0;
  color: var(--ds-color-maintext, #231f20);
  font-family: "Hanken Grotesk", var(--ds-font-display, sans-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 135%;
}

.cd-apply-modal .modal-body {
  width: 100%;
  padding: 0;
  max-height: 85vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--ds-color-gray, #c2c6d6) transparent;
}

.cd-apply-modal .modal-body::-webkit-scrollbar {
  width: 6px;
}

.cd-apply-modal .modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.cd-apply-modal .modal-body::-webkit-scrollbar-thumb {
  background-color: var(--ds-color-gray, #c2c6d6);
  border-radius: 999px;
}

.cd-apply-form form p {
  margin: 0;
}

.cd-apply-form form br {
  display: none;
}

.cd-apply-form label,
.cd-apply-form .form-label {
  display: block;
  font-family: var(--ds-font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 155%;
  color: var(--ds-color-maintext, #231f20);
  margin-bottom: 0.5rem;
}

.cd-apply-form label .cd-required {
  color: var(--ds-color-accent, #31aaec);
  margin-left: 0.25rem;
}

.cd-apply-form input[type="text"],
.cd-apply-form input[type="email"],
.cd-apply-form input[type="tel"],
.cd-apply-form select,
.cd-apply-form textarea,
.cd-apply-form .form-control {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--ds-color-gray, #c2c6d6);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--ds-font-body);
  font-size: 0.9375rem;
  color: var(--ds-color-maintext, #231f20);
  margin-bottom: 1.25rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.cd-apply-form input::placeholder,
.cd-apply-form textarea::placeholder {
  color: var(--ds-color-subtext, #8d8d8e);
  font-family: var(--ds-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 155%;
  opacity: 1;
}

.cd-apply-form textarea {
  min-height: 120px;
  resize: vertical;
}

.cd-apply-form input:focus,
.cd-apply-form select:focus,
.cd-apply-form textarea:focus {
  outline: none;
  border-color: var(--ds-color-accent, #31aaec);
  box-shadow: 0 0 0 3px rgba(49, 170, 236, 0.15);
}

.cd-apply-form input[type="file"] {
  display: block;
  width: 100%;
  background: #fff;
  border: 1.5px dashed var(--ds-color-gray, #c2c6d6);
  border-radius: 12px;
  padding: 2.25rem 1rem;
  text-align: center;
  color: var(--ds-color-subtext, #8d8d8e);
  cursor: pointer;
  margin-bottom: 1.25rem;
}

.cd-file-drop {
  position: relative;
  display: flex;
  height: 150px;
  padding: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px dashed #c2c6d6;
  text-align: center;
  margin-bottom: 1.25rem;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.cd-file-drop-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cd-file-drop.is-dragover {
  border-color: var(--ds-color-accent, #31aaec);
  background: rgba(49, 170, 236, 0.06);
}

.cd-file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin-bottom: 0;
}

.cd-file-drop-icon {
  display: inline-flex;
  margin: 0;
}

.cd-file-drop-label {
  display: block;
  margin: 0;
  font-family: var(--ds-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 155%;
  color: var(--ds-color-subtext, #8d8d8e);
}

.cd-file-drop-hint {
  display: block;
  margin: 0;
  font-family: var(--ds-font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 155%;
  color: var(--ds-color-subtext, #8d8d8e);
}

.cd-file-drop-size {
  background: var(
    --Gradient-Text,
    linear-gradient(90deg, #31aaec 28.27%, #167cb4 82.58%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cd-file-drop-filename {
  display: block;
  margin: 0;
  font-family: var(--ds-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ds-color-accent, #31aaec);
}

.cd-apply-form input[type="submit"],
.cd-apply-form .wpcf7-submit {
  display: flex;
  width: auto;
  padding: 10px 28px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--ds-color-accent, #31aaec);
  color: #fff;
  text-align: center;
  border: none;
  border-radius: 9999px;
  font-family: var(--ds-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 155%;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-transform: capitalize;
}

.cd-apply-form input[type="submit"]:hover,
.cd-apply-form .wpcf7-submit:hover {
  background: var(--ds-color-primary-hover, #066bb3);
}

.cd-apply-form .note {
  font-size: 0.8125rem;
  color: var(--ds-color-subtext, #8d8d8e);
  margin-bottom: 0.5rem;
}

.cd-apply-form .wpcf7-not-valid-tip {
  font-size: 0.8125rem;
  margin-top: 0.4rem;
}

.cd-apply-form .wpcf7-response-output {
  border-radius: 10px;
  margin: 1rem 0 0 !important;
}
