/* Job Listings Page Styles */

/* Navbar Styles */
.jobs-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 0 8px 6px rgb(203 203 197 / 40%);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 0;
  height: 70px;
}

.jobs-navbar__left {
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.jobs-navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}

.jobs-navbar__brand-jobs {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #1B1819;
}

.jobs-navbar__brand-company {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: #1B1819;
  text-transform: uppercase;
}

.jobs-navbar__right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px 0 40px;
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background-color: #1B1819;
  text-decoration: none;
  transition: opacity 0.2s;
  min-width: 200px;
}

.jobs-navbar__right-text {
  margin-right: 20px;
}

.jobs-navbar__right:hover {
  opacity: 0.85;
}

/* Page Container */
.jobs-page {
  padding-top: 70px;
  min-height: 100vh;
  background-color: #fff;
}

/* Job Header Section */
.job-header {
  padding: 40px 0 10px;
  max-width: 1120px;
  margin: 0 auto;
}

.job-id {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #1B1819;
}

/* Hero Section */
.job-hero {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 12px;
  padding: 0;
}

.job-hero__image-wrapper {
  position: relative;
  width: 100%;
  /* height: 500px; */
  overflow: hidden;
}

.job-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-hero__overlay {
  position: absolute;
  bottom: 40px;
  right: 40px;
  text-align: right;
  line-height: 1;
}

.job-hero__title {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 72px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #1B1819;
  margin-bottom: 5px;
}

.job-hero__subtitle {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1B1819;
}

/* Job Title Section */
.job-title-section {
  max-width: 1120px;
  margin: 0 auto 0;
  padding: 0;
  background-color: #ccccc5;
}

.job-title-section__inner {
  padding: 50px 60px;
  text-align: center;
}

.job-title {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #1B1819;
  margin: 0;
  text-transform: uppercase;
}

.job-title__number {
    font-family: 'Times New Roman', serif;
    font-size: 1.08em;
}

/* Job Actions Wrapper */
.job-actions-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 0;
}

.job-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.job-button {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 18px 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.2s;
}

.job-button:hover {
  opacity: 0.85;
}

.job-button--primary {
  background-color: #1B1819;
  color: #fff;
}

.job-button--secondary {
  background-color: transparent;
  color: #1B1819;
  border: 2px solid #1B1819;
  padding: 16px 48px;
}

/* Job Content */
.job-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
}

/* Mobile Footer Button - hidden on desktop */
.job-footer-mobile {
  display: none;
}

.job-main {
  font-family: 'Brandon Grotesque', sans-serif;
  letter-spacing: 0.08em;
  margin-top: 40px;
}

.job-section {
  margin-bottom: 20px;
}

.job-section__title {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1B1819;
  margin-top: 0px;
  margin-bottom: 0px;
}

.job-section__text {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: #1B1819;
}

.job-section__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-section__salary {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #1B1819;
  margin-top: 30px;
}

/* Contact Sidebar */
.job-sidebar {
  position: relative;
  border-left: 1px solid #222;
  padding-left: 60px;
}

.job-contact {
  background-color: transparent;
  padding: 0;
}

.job-contact__title {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1B1819;
  margin-top: 40px;
}

.job-contact__person {
  margin-bottom: 30px;
}

.job-contact__name {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #1B1819;
  letter-spacing: 0.08em;
}

.job-contact__phone,
.job-contact__email {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #1B1819;
  text-decoration: none;
  display: block;
  letter-spacing: 0.08em;
}

.job-contact__email {
  word-break: break-word;
}

.job-contact__photo {
  width: 100%;
  margin-bottom: 14px;
}

.job-contact__image {
  width: 100%;
  height: auto;
  display: block;
}

.job-contact__company {
  background-color: #ccccc5;
  padding: 30px 25px;
  text-align: center;
}

.job-contact__company-title {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1B1819;
}

.job-contact__company-subtitle {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #1B1819;
}

/* Footer */
.job-footer {
  background-color: #fff;
}

.job-footer__content {
  padding: 30px 0;
  border-top: 1px solid #222;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.job-footer__button {
  margin-bottom: 40px;
  width: 100%;
}

.job-footer__button a.job-button {
  width: 100%;
}

.job-footer__links {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 20px;
}

.job-footer__link {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: #1B1819;
  text-decoration: none;
  transition: opacity 0.2s;
}

.job-footer__link:hover {
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .job-content {
    display: flex;
    flex-direction: column;
    padding: 60px 40px;
  }

  .job-main-order {
    order: 1;
  }

  .job-footer-mobile {
    display: block;
    order: 2;
    margin: 40px 0;
    width: 100%;
  }

  .job-footer-mobile .job-button {
    width: 100%;
  }

  .job-sidebar-order {
    order: 3;
  }

  .job-sidebar {
    border-left: none;
    border-top: 1px solid #222;
    padding-left: 0;
    padding-top: 40px;
  }

  .job-footer__button {
    display: none;
  }

  .job-title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .jobs-navbar {
    height: 70px;
  }

  .jobs-navbar__left {
    padding: 0 20px;
  }

  .jobs-navbar__brand-jobs {
    font-size: 29px;
  }

  .jobs-navbar__brand-company {
    font-size: 12px;
  }

  .jobs-navbar__right {
    padding: 0 20px;
    font-size: 14px;
    min-width: 140px;
  }

  .jobs-page {
    padding-top: 70px;
  }

  .job-header {
    padding: 30px 20px 15px;
    max-width: 100%;
  }

  .job-hero {
    padding: 0 20px;
    margin-bottom: 30px;
    max-width: 100%;
  }

  .job-hero__image-wrapper {
    height: 300px;
  }

  .job-hero__overlay {
    bottom: 30px;
    right: 30px;
  }

  .job-hero__title {
    font-size: 48px;
  }

  .job-hero__subtitle {
    font-size: 12px;
  }

  .job-title-section {
    padding: 0 20px 0;
    max-width: 100%;
  }

  .job-title-section__inner {
    padding: 40px 30px;
  }

  .job-title {
    font-size: 32px;
  }

  .job-title__number {
  }

  .job-actions-wrapper {
    padding: 30px 20px;
    max-width: 100%;
  }

  .job-actions {
    flex-direction: column;
    gap: 15px;
  }

  .job-button {
    width: 100%;
    padding: 16px 30px;
  }

  .job-button--secondary {
    padding: 14px 28px;
  }

  .job-content {
    padding: 40px 20px;
    max-width: 100%;
  }

  .job-footer {
    padding: 40px 20px;
  }

  .job-footer__content {
    max-width: 100%;
  }

  .job-footer__links {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 479px) {
  .jobs-navbar__brand-jobs {
    font-size: 24px;
  }

  .jobs-navbar__brand-company {
    font-size: 11px;
  }

  .job-hero__overlay {
    bottom: 20px;
    right: 20px;
  }

  .job-hero__title {
    font-size: 36px;
  }

  .job-hero__subtitle {
    font-size: 10px;
  }

  .job-title {
    font-size: 26px;
  }

  .job-section__title {
    font-size: 20px;
  }
}

/* Application Form Styles */
.application-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
}

.application-main {
  min-width: 0;
}

.application-sidebar {
  position: relative;
  border-left: 1px solid #222;
  padding-left: 60px;
}

.application-form {
  width: 100%;
}

.form-section {
  margin-bottom: 60px;
}

.form-section__title {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1B1819;
  margin-top: 0;
  margin-bottom: 10px;
}

.form-section__description {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #1B1819;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #1B1819;
  margin-bottom: 8px;
}

.form-input {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #1B1819;
  background-color: #ccccc5;
  border: none;
  padding: 8px 20px;
  outline: none;
  transition: background-color 0.2s;
}

.form-input:focus {
  background-color: #bbb;
}

.form-input::placeholder {
  color: rgba(27, 24, 25, 0.5);
}

/* File Input Styles */
.form-group--file {
  display: flex;
  flex-direction: column;
}

.file-input-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #ccccc5;
  padding: 0;
}

.file-input-wrapper input {
  padding: 4px;
  font-size: 12px;
  width: 100%;
}

/* Privacy Policy Section */
.privacy-section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(27, 24, 25, 0.2);
}

.privacy-text-wrapper {
  background-color: #ccccc5;
  padding: 20px;
  margin-bottom: 30px;
  max-height: 250px;
  overflow-y: auto;
}

.privacy-text {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #1B1819;
  letter-spacing: 0.03em;
}

.privacy-text p {
  margin-bottom: 15px;
}

.privacy-text p:last-child {
  margin-bottom: 0;
}

.consent-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.consent-checkbox input[type="checkbox"] {
  margin-top: 4px;
  min-width: 18px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-checkbox .checkbox-text {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #1B1819;
  letter-spacing: 0.03em;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
  gap: 25px;
  margin-top: 40px;
}

.job-button--submit {
  width: 100%;
  /* max-width: 400px; */
}

@media (max-width: 1050px) {
  .file-input-name {
    max-width: 100px;
  }
}

/* Responsive Styles for Form */
@media (max-width: 991px) {
  .application-content {
    display: flex;
    flex-direction: column;
    padding: 60px 40px;
  }

  .application-sidebar {
    border-left: none;
    border-top: 1px solid #222;
    padding-left: 0;
    padding-top: 40px;
  }

  .file-input-name {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .application-content {
    padding: 40px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .form-section {
    margin-bottom: 40px;
  }

  .form-actions .job-button {
    width: 100%;
    max-width: none;
  }

  .file-input-button {
    font-size: 12px;
    padding: 12px 15px;
  }

  .file-input-name {
    font-size: 12px;
    padding-right: 15px;
  }

  .privacy-text-wrapper {
    max-height: 200px;
  }

  .privacy-text {
    font-size: 13px;
  }

  .consent-checkbox .checkbox-text {
    font-size: 13px;
  }
}

@media (max-width: 479px) {
  .form-section__title {
    font-size: 20px;
  }

  .form-section__description {
    font-size: 14px;
  }

  .form-label {
    font-size: 13px;
  }

  .form-input {
    font-size: 14px;
    padding: 12px 15px;
  }
}

/* Success Page Styles */
.success-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-content {
  text-align: center;
  width: 100%;
}

.success-icon {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.success-title {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1B1819;
  margin-bottom: 30px;
  line-height: 1.2;
}

/* New success headline to match design (uppercase serif, centered) */
.success-headline {
  font-family: 'Big Caslon', 'Big Caslon Medium', serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1B1819;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.6;
  margin-bottom: 30px;
}

.success-message {
  font-family: 'Brandon Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: #1B1819;
  letter-spacing: 0.05em;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Full-width CTA bar */
.success-cta-bar {
  max-width: 1120px;
  margin: 50px auto 0;
  border-top: 1px solid #222;
  padding-top: 30px;
}

.success-cta-button {
  display: block;
  width: 100%;
  text-align: center;
}

/* Responsive Styles for Success Page */
@media (max-width: 767px) {
  .success-wrapper {
    padding: 60px 20px;
  }

  .success-title {
    font-size: 32px;
  }

  .success-headline {
    font-size: 22px;
  }

  .success-message {
    font-size: 16px;
  }

  .success-actions {
    flex-direction: column;
    gap: 15px;
  }

  .success-actions .job-button {
    width: 100%;
  }

  .success-icon svg {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 479px) {
  .success-title {
    font-size: 26px;
  }

  .success-headline {
    font-size: 18px;
  }

  .success-message {
    font-size: 14px;
  }
}
