.careers-archive {
  background-color: var(--background-color);
  padding: 0 0 var(--section-padding-vertical);
}
.careers-hero {
  position: relative;
  width: 100%;
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  padding: 3.2rem 0;
  overflow: hidden;
}
.careers-hero::before,
.careers-hero::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(217, 26, 141, 0) 0%,
    rgba(217, 26, 141, 0.95) 18%,
    rgba(217, 26, 141, 0.95) 82%,
    rgba(217, 26, 141, 0) 100%
  );
}
.careers-hero::before {
  top: 0;
}
.careers-hero::after {
  bottom: 0;
}
.careers-hero .hero-inner {
  position: relative;
  z-index: 2;
}
.careers-header {
  text-align: center;
  margin: 0;
}
.careers-header h1 {
  margin: 0 0 0.75rem 0;
  color: var(--text-color-light);
}
.careers-header p {
  color: #fff;
  opacity: 0.9;
}
.careers-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
}
.careers-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.careers-sidebar {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.careers-search-title {
  margin: 0;
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  padding: 12px 14px;
  border: 2px solid var(--secondary-color);
  border-radius: 12px 12px 0 0;
}
.job-search-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--secondary-color);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  font-family: var(--font-primary);
  color: var(--text-color-light);
  background-color: var(--secondary-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin: 0 0 1.5rem 0;
}
.job-search-input::placeholder {
  color: var(--accent-color);
}
.job-search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(217, 26, 141, 0.12);
}
.recent-searches-title {
  margin: 0;
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  padding: 12px 14px;
  border: 2px solid var(--secondary-color);
  border-radius: 12px 12px 0 0;
  border-bottom: 0;
}
.recent-searches {
  border: 2px solid var(--secondary-color);
  border-radius: 0 0 12px 12px;
  background-color: var(--secondary-color-light);
  padding: 12px;
  margin: 0 0 0.5rem 0;
}
.recent-searches-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.recent-searches-list li {
  background-color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-color-light);
  font-weight: 600;
  line-height: 1.2;
}
.recent-searches-list .recent-search-item {
  display: inline-block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.career-card {
  position: relative;
  background-color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 8px;
  padding: 2rem;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.career-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 26, 141, 0.2);
  border-color: var(--primary-color);
}
.career-card.active {
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(217, 26, 141, 0.3);
}
.career-view-more {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 8px 12px;
  font-size: 1.3rem;
  line-height: 1;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
  font-weight: 700;
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.career-view-more:hover,
.career-view-more:focus-visible {
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(217, 26, 141, 0.25);
}
.career-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.career-title-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.5rem;
}
.career-title-row h4 {
  color: var(--text-color-light);
  margin: 0;
}
.career-info-section {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.career-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--secondary-color-light);
  border: 2px solid var(--secondary-color-light-bg);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text-color-light);
  flex: 1 1 calc(33.333% - 8px);
  min-width: 180px;
}
.career-info-icon {
  width: 18px;
  flex-shrink: 0;
  color: var(--accent-color);
}
.no-careers {
  text-align: center;
  color: var(--accent-color);
  padding: 4rem 0;
}
.careers-loadmore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}
.career-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.career-modal.active {
  display: flex;
}
.career-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}
.career-modal-panel {
  position: fixed;
  top: 0;
  right: -900px;
  width: 90%;
  max-width: 900px;
  height: 100%;
  background-color: var(--background-color);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  z-index: 10000;
  transition: right 0.4s ease;
}
.career-modal.active .career-modal-panel {
  right: 0;
}
.career-modal-close {
  position: absolute;
  top: 6rem;
  right: 4rem;
  background-color: var(--background-color);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  cursor: pointer;
  z-index: 10001;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  line-height: 1;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.career-modal-close:hover {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}
.career-modal-content {
  padding: 5rem 3rem 3rem;
}
.modal-body {
  padding: 0;
}
.modal-featured-image-section {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}
.modal-featured-image-section img {
  width: 100%;
  height: auto;
  display: block;
}
.modal-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.modal-title-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}
.modal-title-content h3 {
  color: var(--primary-color);
  margin: 0;
}
.modal-info-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 0;
  background-color: transparent;
}
.modal-info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-color);
  background-color: var(--background-color);
  border: 2px solid var(--secondary-color-light-bg);
  border-radius: 8px;
  padding: 14px 16px;
}
.modal-info-icon {
  width: 20px;
  flex-shrink: 0;
  color: var(--accent-color);
}
.modal-actions-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
}
.modal-apply-button,
.modal-share-button {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  flex: 1;
}
.modal-learn-more-button {
  display: inline-block;
  padding: 8px 28px;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  flex: 1;
}
.modal-apply-button {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.modal-apply-button:hover {
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(217, 26, 141, 0.3);
}
.modal-learn-more-button,
.modal-share-button {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.modal-learn-more-button:hover,
.modal-share-button:hover {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}
.modal-description-section {
  margin: 2rem 0;
  padding: 2rem;
  border: 2px solid var(--secondary-color-light-bg);
  border-radius: 8px;
}
.modal-description-section h4 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}
.modal-video-section {
  margin: 2rem 0;
}
.modal-video-section h2 {
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
}
.modal-wistia-video {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.modal-wistia-video wistia-player {
  width: 100%;
  height: 100%;
}
.modal-local-video {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.modal-local-video video {
  width: 100%;
  height: auto;
  display: block;
}
.modal-form-section {
  margin: 2rem 0;
  padding: 3rem 0 0 0;
  border-top: 2px solid var(--secondary-color-light-bg);
}
.modal-form-section h4 {
  color: var(--text-color);
  text-align: center;
  margin-bottom: 2rem;
}
#modal-hubspot-form-container {
  width: 100%;
}
.modal-form-section #modal-hubspot-form-container form.hs-form {
  background: var(--secondary-color);
  color: var(--text-color-light);
  padding: 48px;
  border-radius: 8px;
  border: 1px solid var(--secondary-color-darker);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 20px;
}
.modal-form-section #modal-hubspot-form-container form.hs-form > * {
  flex-basis: 100%;
}
.modal-form-section #modal-hubspot-form-container fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100% !important;
  max-width: 100% !important;
}
.modal-form-section #modal-hubspot-form-container .hs-form-field {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-form-section #modal-hubspot-form-container .hs-form-field label {
  color: var(--text-color-light);
  font-weight: 600;
}
.modal-form-section #modal-hubspot-form-container .hs-richtext {
  color: var(--text-color-light);
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}
.modal-form-section #modal-hubspot-form-container fieldset.form-columns-2 {
  display: flex;
  gap: 20px;
}
.modal-form-section
  #modal-hubspot-form-container
  fieldset.form-columns-2
  .hs-form-field {
  flex-basis: calc(50% - 10px);
}
.modal-form-section #modal-hubspot-form-container input[type="text"],
.modal-form-section #modal-hubspot-form-container input[type="email"],
.modal-form-section #modal-hubspot-form-container input[type="tel"],
.modal-form-section #modal-hubspot-form-container input[type="url"],
.modal-form-section #modal-hubspot-form-container select,
.modal-form-section #modal-hubspot-form-container textarea,
.modal-form-section #modal-hubspot-form-container input[type="file"] {
  width: 100% !important;
  padding: 16px 14px;
  background-color: var(--background-color);
  border: 1px solid var(--secondary-color-light);
  border-radius: 6px;
  color: var(--text-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}
.modal-form-section #modal-hubspot-form-container input::placeholder,
.modal-form-section #modal-hubspot-form-container textarea::placeholder {
  color: var(--text-color);
  opacity: 0.7;
}
.modal-form-section #modal-hubspot-form-container input:focus,
.modal-form-section #modal-hubspot-form-container select:focus,
.modal-form-section #modal-hubspot-form-container textarea:focus,
.modal-form-section #modal-hubspot-form-container input[type="file"]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-color-light-bg);
  background-color: var(--background-color);
}
.modal-form-section #modal-hubspot-form-container select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 1em;
  padding-right: 40px !important;
}
.modal-form-section #modal-hubspot-form-container textarea {
  min-height: 120px;
  resize: vertical;
}
.modal-form-section #modal-hubspot-form-container input[type="file"] {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 8px 14px;
  line-height: normal;
}
.modal-form-section
  #modal-hubspot-form-container
  input[type="file"]::file-selector-button {
  margin-right: 12px;
  border: 1px solid var(--secondary-color-light);
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--background-color);
  color: var(--text-color);
  cursor: pointer;
  line-height: 1;
}
.modal-form-section
  #modal-hubspot-form-container
  input[type="file"]::file-selector-button:hover {
  border-color: var(--primary-color);
}
.modal-form-section #modal-hubspot-form-container .hs-error-msgs {
  margin-top: 6px;
}
.modal-form-section #modal-hubspot-form-container .hs-error-msgs li {
  color: #ffd3e9;
}
.modal-form-section #modal-hubspot-form-container .actions {
  text-align: center;
}
.modal-form-section #modal-hubspot-form-container .hs-button,
.modal-form-section #modal-hubspot-form-container input[type="submit"] {
  display: inline-block;
  min-width: 220px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border: none;
  padding: 18px 40px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}
.modal-form-section #modal-hubspot-form-container .hs-button:hover,
.modal-form-section #modal-hubspot-form-container input[type="submit"]:hover {
  background-color: var(--primary-color-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 26, 141, 0.3);
}
@media (max-width: 1200px) {
  .career-info-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }
  .modal-info-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }
}
@media (max-width: 900px) {
  .careers-layout {
    grid-template-columns: 1fr;
    display: grid;
    margin-top: 2rem;
  }
  .careers-sidebar {
    position: static;
    order: -1;
  }
  .careers-hero {
    padding: 2.4rem 0;
  }
  .modal-form-section #modal-hubspot-form-container form.hs-form {
    padding: 32px 24px;
  }
  .modal-form-section #modal-hubspot-form-container .hs-button,
  .modal-form-section #modal-hubspot-form-container input[type="submit"] {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .career-card {
    padding: 1.5rem;
  }
  .career-info-section {
    gap: 10px;
    display: grid;
  }
  .career-modal-content {
    padding: 1.5rem;
  }
  .career-modal-close {
    top: 4rem;
    right: 1.5rem;
  }
  .modal-info-section {
    grid-template-columns: 1fr;
  }
  .modal-actions-section {
    flex-direction: column;
    gap: 1rem;
  }
  .modal-share-button,
  .modal-apply-button,
  .modal-learn-more-button,
  .btn {
    width: 100%;
  }
  .modal-description-section {
    padding: 1.5rem;
  }
  .modal-form-section {
    padding: 2rem 0 0 0;
  }
}
@media (max-width: 600px) {
  .modal-form-section #modal-hubspot-form-container fieldset.form-columns-2 {
    flex-direction: column;
    gap: 24px;
  }
  .modal-form-section
    #modal-hubspot-form-container
    fieldset.form-columns-2
    .hs-form-field {
    flex-basis: 100%;
  }
}