/* careers-banner */
/* RESET */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* SECTION */
  .join-team-banner {
    width: 100%;
    background-color: #f7efe1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* IMAGE */
  .join-team-banner-img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* LARGE DESKTOP */
  @media screen and (min-width: 1600px) {
    .join-team-banner-img {
      width: 100%;
      height: auto;
    }
  }

  /* DESKTOP */
  @media screen and (max-width: 1400px) {
    .join-team-banner-img {
      width: 100%;
      height: auto;
    }
  }

  /* TABLET */
  @media screen and (max-width: 991px) {
    .join-team-banner {
      padding: 0;
    }

    .join-team-banner-img {
      width: 100%;
      height: auto;
    }
  }

  /* MOBILE */
  @media screen and (max-width: 767px) {
    .join-team-banner {
      width: 100%;
      overflow: hidden;
      background: #f7efe1;
    }

    .join-team-banner-img {
      width: 100%;
      height: auto;

      /* keeps whole banner visible */
      object-fit: contain;
      object-position: center center;
    }
  }

  /* SMALL MOBILE */
  @media screen and (max-width: 480px) {
    .join-team-banner-img {
      width: 100%;
      height: auto;
    }
  }

/* careers-application */
/* ======================================
   RESET
====================================== */

#buttlers-careers,
#buttlers-careers * {
  box-sizing: border-box;
}


/* ======================================
   SECTION
====================================== */

#buttlers-careers {
  position: relative;

  width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 70px 5%;

  overflow: hidden;

  font-family: Arial, Helvetica, sans-serif;

  background: #f6ecdd;
}


/* ======================================
   CITY BACKGROUND
====================================== */

.careers-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image:
    url("/original-media/careers-application-background.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* Covers the printed form/cards enough that
   only the city atmosphere shows through. */

.careers-shade {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    rgba(247, 239, 226, .38);
}


/* ======================================
   GRID
====================================== */

.careers-wrap {
  position: relative;
  z-index: 5;

  width: 100%;

  max-width: 1500px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(330px, .72fr)
    minmax(560px, 1.32fr);

  gap: 30px;

  align-items: start;
}


/* ======================================
   CARDS
====================================== */

.jobs-card,
.application-card {
  width: 100%;

  background: #fffaf2;

  border:
    1px solid
    rgba(182, 117, 15, .30);

  border-radius: 16px;

  box-shadow:
    0 15px 45px
    rgba(0,0,0,.16);
}


/* ======================================
   LEFT CARD
====================================== */

.jobs-card {
  padding: 32px;
}


.top-star {
  margin-bottom: 10px;

  color: #bc770c;

  font-size: 28px;

  text-align: center;
}


.section-heading {
  display: grid;

  grid-template-columns:
    minmax(20px,1fr)
    auto
    minmax(20px,1fr);

  gap: 12px;

  align-items: center;
}


.section-heading > span {
  height: 2px;

  background: #bc770c;
}


.section-heading h2,
.section-heading h3 {
  margin: 0;

  color: #111;

  font-family:
    Impact,
    "Arial Narrow Bold",
    "Arial Black",
    sans-serif;

  text-align: center;

  text-transform: uppercase;
}


.section-heading h2 {
  font-size:
    clamp(26px,2.4vw,38px);
}


.section-heading h3 {
  font-size:
    clamp(20px,1.9vw,29px);
}


.section-subtitle {
  max-width: 335px;

  margin: 12px auto 26px;

  color: #191510;

  font-size: 16px;

  line-height: 1.45;

  text-align: center;
}


/* ======================================
   JOB BUTTONS
====================================== */

.job-list {
  overflow: hidden;

  border:
    1px solid
    rgba(182,117,15,.30);

  border-radius: 5px;
}


.job-list a {
  width: 100%;

  min-height: 64px;

  display: grid;

  grid-template-columns:
    47px
    minmax(0,1fr)
    24px;

  gap: 12px;

  align-items: center;

  padding: 8px 14px;

  border: 0;

  border-bottom:
    1px solid
    rgba(182,117,15,.27);

  background: transparent;

  color: #111;

  text-align: left;

  cursor: pointer;
}


.job-list a:last-child {
  border-bottom: 0;
}


.job-list a:hover,
.job-list a:focus {
  background:
    rgba(217,154,34,.10);
}


.job-emblem {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #111;

  color: #d99a22;

  font-size: 20px;
}


.job-list strong {
  min-width: 0;

  color: #111;

  font-family:
    Impact,
    "Arial Narrow Bold",
    "Arial Black",
    sans-serif;

  font-size:
    clamp(17px,1.55vw,23px);

  line-height: 1.08;

  overflow-wrap: anywhere;
}


.job-arrow {
  color: #bc770c;

  font-size: 35px;

  line-height: 1;
}


/* ======================================
   BENEFITS
====================================== */

.benefits-heading {
  margin-top: 30px;
}


.benefits-list {
  list-style: none;

  margin: 22px 0 0;

  padding: 0 6px;
}


.benefits-list li {
  display: grid;

  grid-template-columns:
    38px
    minmax(0,1fr);

  gap: 10px;

  align-items: center;

  margin: 14px 0;

  color: #111;

  font-size: 14px;

  font-weight: 900;

  line-height: 1.35;

  text-transform: uppercase;
}


.benefits-list li span {
  color: #bc770c;

  font-size: 26px;

  text-align: center;
}


/* ======================================
   QUOTE
====================================== */

.jobs-quote {
  margin-top: 27px;

  padding: 27px 18px 20px;

  background: #15100b;

  color: #fff;

  font-family: Georgia, serif;

  font-size:
    clamp(26px,2.5vw,37px);

  font-style: italic;

  line-height: 1.12;

  text-align: center;
}


.jobs-quote span {
  display: block;

  width: 110px;

  height: 3px;

  margin: 16px auto 0;

  background: #d99a22;
}


/* ======================================
   APPLICATION CARD
====================================== */

.application-card {
  padding: 38px;
}


.application-heading {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 14px;

  text-align: center;
}


.application-emblem {
  color: #bc770c;

  font-size: 40px;
}


.application-heading h2 {
  margin: 0;

  color: #111;

  font-family:
    Impact,
    "Arial Narrow Bold",
    "Arial Black",
    sans-serif;

  font-size:
    clamp(30px,2.9vw,44px);

  text-transform: uppercase;
}


.gold-rule {
  width: 110px;

  height: 3px;

  margin: 10px auto 0;

  background: #bc770c;
}


.application-intro {
  margin: 14px 0 27px;

  color: #111;

  font-size: 15px;

  line-height: 1.5;

  text-align: center;
}


.application-intro strong {
  color: #aa6500;
}


/* ======================================
   FORM GRID
====================================== */

.form-grid {
  display: grid;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap: 20px 24px;
}


.form-grid label {
  min-width: 0;

  display: grid;

  gap: 8px;

  color: #111;

  font-size: 13px;

  font-weight: 900;

  line-height: 1.3;
}


.full-field {
  grid-column: 1 / -1;
}


.form-grid input,
.form-grid select,
.form-grid textarea {
  display: block;

  width: 100%;

  min-width: 0;

  max-width: 100%;

  border:
    1px solid
    rgba(182,117,15,.43);

  border-radius: 4px;

  outline: none;

  background: #fff;

  color: #17120d;

  font-size: 16px;
}


.form-grid input,
.form-grid select {
  min-height: 51px;

  padding: 12px 14px;
}


.form-grid textarea {
  min-height: 135px;

  padding: 13px 14px;

  resize: vertical;
}


.form-grid input[type="file"] {
  min-height: 60px;

  padding: 12px;

  font-size: 13px;
}


.form-grid small {
  color: #5a4c3c;

  font-size: 11px;

  font-weight: 600;
}


.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #bc770c;

  box-shadow:
    0 0 0 2px
    rgba(188,119,12,.13);
}


/* ======================================
   SUBMIT BUTTON
====================================== */

.submit-application {
  width: 100%;

  min-height: 61px;

  margin-top: 26px;

  padding: 13px 20px;

  border: 0;

  border-radius: 4px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  background:
    linear-gradient(
      90deg,
      #1c130b,
      #100b07
    );

  color: #d99a22;

  cursor: pointer;

  font-family:
    Impact,
    "Arial Narrow Bold",
    "Arial Black",
    sans-serif;

  font-size:
    clamp(20px,2vw,29px);

  letter-spacing: .05em;

  text-transform: uppercase;
}


.submit-application:hover {
  background: #b77309;

  color: #fff;
}


.submit-application:disabled {
  opacity: .65;

  cursor: wait;
}


/* ======================================
   FORM BOTTOM TEXT
====================================== */

.privacy-text,
.destination-text {
  margin: 13px 0 0;

  color: #271b11;

  font-size: 13px;

  line-height: 1.45;

  text-align: center;
}


.destination-text strong {
  overflow-wrap: anywhere;
}


.application-status {
  min-height: 22px;

  margin-top: 13px;

  color: #774800;

  font-size: 14px;

  font-weight: 800;

  line-height: 1.45;

  text-align: center;
}


/* ======================================
   TABLET
====================================== */

@media screen and (max-width: 1050px) {

  #buttlers-careers {
    padding: 45px 24px;
  }

  .careers-wrap {
    grid-template-columns: 1fr;

    max-width: 760px;
  }

}


/* ======================================
   MOBILE
====================================== */

@media screen and (max-width: 650px) {

  #buttlers-careers {
    width: 100%;

    margin-left: 0;
    margin-right: 0;

    padding:
      28px 12px;
  }


  .careers-bg {
    background-position:
      center top;
  }


  .careers-shade {
    background:
      rgba(247,239,226,.57);
  }


  .careers-wrap {
    display: block;

    width: 100%;

    max-width: 100%;
  }


  .jobs-card,
  .application-card {
    width: 100%;

    max-width: 100%;

    margin: 0 0 20px;

    padding:
      22px 14px;

    border-radius:
      13px;
  }


  .section-heading {
    gap: 7px;
  }


  .section-heading h2 {
    font-size:
      clamp(24px,8vw,32px);
  }


  .section-heading h3 {
    font-size:
      clamp(19px,6.4vw,25px);
  }


  .job-list a {
    grid-template-columns:
      41px
      minmax(0,1fr)
      20px;

    gap: 8px;

    min-height: 59px;

    padding:
      7px 9px;
  }


  .job-emblem {
    width: 37px;

    height: 37px;

    font-size: 18px;
  }


  .job-list strong {
    font-size: 17px;
  }


  .job-arrow {
    font-size: 30px;
  }


  .application-heading {
    gap: 8px;
  }


  .application-emblem {
    font-size: 32px;
  }


  .application-heading h2 {
    font-size:
      clamp(25px,8vw,34px);
  }


  .form-grid {
    grid-template-columns:
      minmax(0,1fr);

    gap: 17px;
  }


  .full-field {
    grid-column: auto;
  }


  .form-grid input,
  .form-grid select {
    min-height: 52px;
  }


  .form-grid textarea {
    min-height: 140px;
  }


  .submit-application {
    font-size: 20px;
  }


  .jobs-quote {
    font-size: 28px;
  }

}


/* ======================================
   SMALL PHONES
====================================== */

@media screen and (max-width: 375px) {

  #buttlers-careers {
    padding-left: 8px;
    padding-right: 8px;
  }


  .jobs-card,
  .application-card {
    padding-left: 11px;
    padding-right: 11px;
  }


  .job-list a {
    grid-template-columns:
      38px
      minmax(0,1fr)
      18px;

    gap: 6px;
  }


  .job-emblem {
    width: 34px;

    height: 34px;
  }


  .job-list strong {
    font-size: 16px;
  }

}
