:root {
  --wp--preset--aspect-ratio--square: 1;
  --wp--preset--aspect-ratio--4-3: 4/3;
  --wp--preset--aspect-ratio--3-4: 3/4;
  --wp--preset--aspect-ratio--3-2: 3/2;
  --wp--preset--aspect-ratio--2-3: 2/3;
  --wp--preset--aspect-ratio--16-9: 16/9;
  --wp--preset--aspect-ratio--9-16: 9/16;
  --wp--preset--aspect-ratio--x-wide: 80/30;
  --wp--preset--aspect-ratio--xx-wide: 90/30;
  --wp--preset--aspect-ratio--xxx-wide: 100/30;
  /** Colors **/
  --wp--preset--color--green: #3e823e;
  --wp--preset--color--olive: #94af00;
  --wp--preset--color--light-green: #ddebdc;
  --wp--preset--color--light-green: #ddebdc;
  --wp--preset--color--orange: #ff7220;
  --wp--preset--color--pale-orange: #faa819;
  --wp--preset--color--blue: #1558a1;
  --wp--preset--color--black: #000000;
  --wp--preset--color--white: #ffffff;
  --wp--preset--color--text-color: #111011;
  --wp--preset--color--dark-grey: #58595b;
  --wp--preset--color--medium-grey: #808080;
  --wp--preset--color--light-grey: #f7f7f7;
  --wp--preset--color--primary: var(--wp--preset--color--green);
  --wp--preset--color--secondary: var(--wp--preset--color--olive);
  --wp--preset--color--primary-cta: var(--wp--preset--color--orange);
  --wp--preset--color--secondary-cta: var(--wp--preset--color--blue);
  --wp--preset--color--primary-cta-hover: #ff9c63;
  --wp--preset--color--secondary-cta-hover: #2c69aa;
  --wp--preset--color--white-cta-hover: #e5eeeb;
  --wp--preset--gradient--actone-brand-gradient-2: linear-gradient(
    180deg,
    #a3db9f 28.85%,
    #79cb73 51.44%,
    #005236 100%
  );
  --wp--preset--gradient--appleone-white-to-light-green: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(221, 235, 220, 0.2) 100%
  );
  /* Font Sizes */
  --wp--preset--font-size--small: 14px;
  --wp--preset--font-size--medium: 16px;
  --wp--preset--font-size--large: clamp(
    18px,
    1.125rem + ((1vw - 3.2px) * 0.682),
    24px
  );
  --wp--preset--font-size--x-large: clamp(
    24px,
    1.5rem + ((1vw - 3.2px) * 0.682),
    30px
  );
  --wp--preset--font-size--x-small: 10px;
  --wp--preset--font-size--xx-large: clamp(
    30px,
    1.875rem + ((1vw - 3.2px) * 1.136),
    40px
  );
  --wp--preset--font-size--xxx-large: clamp(
    40px,
    2.5rem + ((1vw - 3.2px) * 2.273),
    60px
  );
  --wp--preset--font-family--outfit: Outfit, sans-serif;
  /* Spacing */
  --wp--preset--spacing--20: 0.44rem;
  --wp--preset--spacing--30: 0.67rem;
  --wp--preset--spacing--40: 1rem;
  --wp--preset--spacing--50: 1.5rem;
  --wp--preset--spacing--60: 2.25rem;
  --wp--preset--spacing--70: 3.38rem;
  --wp--preset--spacing--80: 5.06rem;
  --wp--preset--spacing--small: 1rem;
  --wp--preset--spacing--medium: 2rem;
  --wp--preset--spacing--large: clamp(2rem, 3.333vw + 1rem, 3rem);
  --wp--preset--spacing--x-large: clamp(3rem, 2.857vw + 2.286rem, 4rem);
  --wp--preset--spacing--xx-large: clamp(4rem, 1.429vw + 4.143rem, 5rem);
  --wp--preset--spacing--xxx-large: clamp(5rem, 2.857vw + 4.286rem, 6rem);
  --wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);
  --wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);
  --wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);
  --wp--preset--shadow--outlined:
    6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);
  --wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);
  --wp--preset--shadow--theme-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.12);
  --wp--preset--shadow--text-shadow: 0 0px 12px 0 rgba(0, 0, 0, 0.5);
  --wp--preset--shadow--shadow-1: 0px 2px 100px 0 #0000000d;
  --wp--custom--spacing--5: 5px;
  --wp--custom--spacing--10: 10px;
  --wp--custom--spacing--20: 20px;
  --wp--custom--spacing--30: 30px;
  --wp--custom--spacing--40: 40px;
  --wp--custom--spacing--50: 50px;
  --wp--custom--spacing--60: 60px;
  --wp--custom--spacing--70: 70px;
  --wp--custom--spacing--80: 80px;
  --wp--custom--spacing--90: 90px;
  --wp--custom--spacing--100: 100px;
  /* UI Elements */
  --appleone--preset--shadow--text--title: 0 0 12px rgba(0, 0, 0, 0.5);
  --appleone--preset--shadow--text--subtitle: 0 0 24px rgba(0, 0, 0, 0.25);
  --appleone--preset--shadow--cards: 0 0 2px rgba(0, 0, 0, 0.1);
  --appleone--preset--border-radius--cards: 10px;
  --appleone--preset--border-radius--inputs: 100px;
  --appleone--preset--filter--blur: blur(2px);
  --appleone--preset--blur--background: rgba(255, 255, 255, 0.08);
  --appleone--preset--tranform--origin: center;
  --appleone--preset--transition--all: all 0.2s ease-in-out;
  --appleone--preset--icon--arrow--black: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="13" viewBox="0 0 15 13" fill="none"><path d="M14.8172 6.69254L9.19219 12.3175C9.07491 12.4348 8.91585 12.5007 8.75 12.5007C8.58415 12.5007 8.42509 12.4348 8.30781 12.3175C8.19054 12.2003 8.12465 12.0412 8.12465 11.8753C8.12465 11.7095 8.19054 11.5504 8.30781 11.4332L12.8664 6.87535H0.625C0.45924 6.87535 0.300269 6.8095 0.183058 6.69229C0.0658481 6.57508 0 6.41611 0 6.25035C0 6.08459 0.0658481 5.92562 0.183058 5.80841C0.300269 5.6912 0.45924 5.62535 0.625 5.62535H12.8664L8.30781 1.06753C8.19054 0.95026 8.12465 0.7912 8.12465 0.625347C8.12465 0.459495 8.19054 0.300435 8.30781 0.18316C8.42509 0.0658846 8.58415 0 8.75 0C8.91585 0 9.07491 0.0658846 9.19219 0.18316L14.8172 5.80816C14.8753 5.86621 14.9214 5.93514 14.9529 6.01101C14.9843 6.08688 15.0005 6.16821 15.0005 6.25035C15.0005 6.33248 14.9843 6.41381 14.9529 6.48969C14.9214 6.56556 14.8753 6.63449 14.8172 6.69254Z" fill="black"/></svg>');
  --appleone--preset--icon--arrow--white: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="13" viewBox="0 0 15 13" fill="none"><path d="M14.8172 6.69254L9.19219 12.3175C9.07491 12.4348 8.91585 12.5007 8.75 12.5007C8.58415 12.5007 8.42509 12.4348 8.30781 12.3175C8.19054 12.2003 8.12465 12.0412 8.12465 11.8753C8.12465 11.7095 8.19054 11.5504 8.30781 11.4332L12.8664 6.87535H0.625C0.45924 6.87535 0.300269 6.8095 0.183058 6.69229C0.0658481 6.57508 0 6.41611 0 6.25035C0 6.08459 0.0658481 5.92562 0.183058 5.80841C0.300269 5.6912 0.45924 5.62535 0.625 5.62535H12.8664L8.30781 1.06753C8.19054 0.95026 8.12465 0.7912 8.12465 0.625347C8.12465 0.459495 8.19054 0.300435 8.30781 0.18316C8.42509 0.0658846 8.58415 0 8.75 0C8.91585 0 9.07491 0.0658846 9.19219 0.18316L14.8172 5.80816C14.8753 5.86621 14.9214 5.93514 14.9529 6.01101C14.9843 6.08688 15.0005 6.16821 15.0005 6.25035C15.0005 6.33248 14.9843 6.41381 14.9529 6.48969C14.9214 6.56556 14.8753 6.63449 14.8172 6.69254Z" fill="white"/></svg>');
  --appleone--preset--icon--arrow--green: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="13" viewBox="0 0 15 13" fill="none"><path d="M14.8172 6.69254L9.19219 12.3175C9.07491 12.4348 8.91585 12.5007 8.75 12.5007C8.58415 12.5007 8.42509 12.4348 8.30781 12.3175C8.19054 12.2003 8.12465 12.0412 8.12465 11.8753C8.12465 11.7095 8.19054 11.5504 8.30781 11.4332L12.8664 6.87535H0.625C0.45924 6.87535 0.300269 6.8095 0.183058 6.69229C0.0658481 6.57508 0 6.41611 0 6.25035C0 6.08459 0.0658481 5.92562 0.183058 5.80841C0.300269 5.6912 0.45924 5.62535 0.625 5.62535H12.8664L8.30781 1.06753C8.19054 0.95026 8.12465 0.7912 8.12465 0.625347C8.12465 0.459495 8.19054 0.300435 8.30781 0.18316C8.42509 0.0658846 8.58415 0 8.75 0C8.91585 0 9.07491 0.0658846 9.19219 0.18316L14.8172 5.80816C14.8753 5.86621 14.9214 5.93514 14.9529 6.01101C14.9843 6.08688 15.0005 6.16821 15.0005 6.25035C15.0005 6.33248 14.9843 6.41381 14.9529 6.48969C14.9214 6.56556 14.8753 6.63449 14.8172 6.69254Z" fill="%23005236"/></svg>');
  /* MISC */
  --max-width: var(--wp--style--global--wide-size, 75rem);
}

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

.row {
  max-width: var(--max-width);
}

article p {
  font-size: inherit;
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--wp--preset--font-family--outfit);
  color: var(--wp--preset--color--green);
  line-height: 1.2;
  font-weight: 400;
  font-weight: 400;
}

a {
  color: var(--wp--preset--color--primary);
}

.button {
}

.top-bar h1 {
  margin: 0;
  width: 175px;
  height: auto;
  translate: -50% 0;
  top: 15px;
}

.top-bar h1.show-for-small-only {
  width: 180px;
  height: auto;
  top: 15px;
  left: 16px;
  margin: 0;
  translate: 0;
}

.dyi-regions-hero {
  padding-block: var(--wp--preset--spacing--x-large);
  color: var(--wp--preset--color--white);
  background-position: 53% 50%;
  border-image: linear-gradient(hsla(0, 0%, 0%, 0.45), hsla(0, 0%, 0%, 0.46))
    fill 1;

  * {
    color: var(--wp--preset--color--white);
  }
}

.section-header {
  font-family: var(--wp--preset--font-family--outfit);
}
.heading-hero-primary {
  font-size: var(--wp--preset--font-size--xxx-large);
  font-weight: 600;
  font-style: normal;
  line-height: 1.1;
  margin-block-start: var(--wp--custom--spacing--20);
}

.heading-hero-secondary {
  font-size: var(--wp--preset--font-size--xx-large);
  margin-top: 0;
}

.body-copy-hero {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 700;
}

.eyebrow-hero {
  font-size: var(--wp--preset--font-size--small);
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

.heading-secondary {
  color: var(--wp--preset--color--primary);
  font-size: var(--wp--preset--font-size--xx-large);
}

.job-sidebar__apply {
  border: 0;
  transition: 0.2s all ease-in-out;
  align-content: center;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  height: 100%;
  text-align: center;
  word-break: break-word;
  background: var(--wp--preset--color--primary-cta);
  outline-color: var(--wp--preset--color--primary-cta);
  border-radius: 100px;
  color: var(--wp--preset--color--black);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: var(--wp--preset--font-size--small);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.8px;
  outline-offset: -2px;
  outline-style: solid;
  outline-width: 2px;
  padding-top: 15px;
  padding-right: 30px;
  padding-bottom: 15px;
  padding-left: 30px;
  text-transform: uppercase;
  box-shadow: var(--wp--preset--shadow--theme-shadow);
}

.job-sidebar__apply::after {
  content: "";
  background-image: var(--appleone--preset--icon--arrow--black);
  display: inline-block;
  width: 0;
  height: 13px;
  margin-left: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: var(--appleone--preset--transition--all);
}

.job-sidebar__apply:hover {
  color: inherit;
}

.job-sidebar__apply:hover::after {
  opacity: 1;
  margin-left: 10px;
  width: 15px;
}

body.pg-dyi-careers {
  color: var(--wp--preset--color--text-color);
}

.pg-dyi-careers .off-canvas-wrap {
  overflow: initial;
}

/* Job Directory */

.region-list-grid {
  --grid-max-col-count: 3;
  --grid-min-col-size: 300px;
  --grid-gap: var(--wp--preset--spacing--small);
  list-style: none;
  /* calculations, do not touch */
  --grid-col-size-calc: calc(
    (100% - var(--grid-gap) * var(--grid-max-col-count)) /
      var(--grid-max-col-count)
  );
  --grid-col-min-size-calc: min(
    100%,
    max(var(--grid-min-col-size), var(--grid-col-size-calc))
  );
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(var(--grid-col-min-size-calc), 1fr)
  );

  gap: var(--grid-gap);
  margin-left: 0;
  margin-bottom: var(--wp--preset--spacing--x-large);
}

.jobs-category-card {
  --jobs-radius-card: 10px;
  --jobs-radius-pill: 100px;
  --jobs-radius-button: 100px;
  --jobs-border-subtle: 1px solid #e3ecea;
  --jobs-border-strong: 1px solid rgba(0, 82, 54, 0.14);
  --jobs-shadow-card: 0 4px 12px rgba(0, 0, 0, 0.06);
  --jobs-shadow-card-hover: 0 8px 20px rgba(0, 0, 0, 0.08);
  --jobs-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.05);

  border-radius: var(--jobs-radius-card);
  background-color: var(--wp--preset--color--white);
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--small);
  justify-content: space-between;
  min-height: 120px;
  padding: 20px;
}
.jobs-category-card--empty {
  /* opacity: 0.75; */
  background: var(--wp--preset--gradient--appleone-white-to-light-green);

  .jobs-category-card__icon {
    filter: grayscale(100%);
    opacity: 0.65;
  }

  .jobs-category-card__badge {
    background: rgba(128, 128, 128, 0.1);
    color: var(--wp--preset--color--dark-grey);
  }
}

.jobs-category-card__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--wp--custom--spacing--10);
  position: relative;
}

.jobs-category-card__icon {
  width: 40px;
  aspect-ratio: var(--wp--preset--aspect-ratio--square);
  grid-column: 1;
}

.jobs-category-card__title {
  color: var(--wp--preset--color--text-color);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: var(--wp--preset--font-size--large);
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: break-word;
  margin-block-start: 10px;
  margin-block-end: 0;
  grid-column: 1 / -1;
  max-width: 75%;
}

/* .jobs-category-card__count {
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--dark-grey);
  position: absolute;
  top: 0;
  right: 0;
} */

.jobs-category-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  font-size: 0.75rem;
  line-height: 1;
  border-radius: 999px;
  background: rgba(148, 175, 0, 0.12);
  color: var(--wp--preset--color--green);
  font-size: 0.75rem;
  font-weight: 600;

  grid-column: 2;
  justify-self: end;
  position: static;
  grid-row: 1 / -1;
  align-self: start;
}

.jobs-category-card__actions {
  display: flex;
  justify-content: start;
  margin-top: auto;
}
.jobs-category-card__actions p {
  margin-bottom: 0;
}

.jobs-category-card__view-button,
.job-sidebar__apply {
  border: 0;
  transition: 0.2s all ease-in-out;
  align-content: center;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  height: 100%;
  text-align: center;
  word-break: break-word;
  background: var(--wp--preset--color--primary-cta);
  outline-color: var(--wp--preset--color--primary-cta);
  border-radius: 100px;
  color: var(--wp--preset--color--black);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: var(--wp--preset--font-size--small);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.8px;
  outline-offset: -2px;
  outline-style: solid;
  outline-width: 2px;
  padding-block: 0.5em;
  padding-right: 30px;

  padding-left: 30px;
  text-transform: uppercase;
  box-shadow: var(--wp--preset--shadow--theme-shadow);
}

.jobs-category-card__view-button:is(:focus, :hover),
.job-sidebar__apply:is(:focus, :hover) {
  color: inherit;
  background-color: var(--wp--preset--color--primary-cta-hover);
}

.jobs-category-card__view-button::after,
.job-sidebar__apply::after {
  content: "";
  background-image: var(--appleone--preset--icon--arrow--black);
  display: inline-block;
  width: 0;
  height: 13px;
  margin-left: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: var(--appleone--preset--transition--all);
}
.jobs-category-card__view-button--down::after {
  background-image: var(--appleone--preset--icon--arrow--white);
  rotate: 90deg;
}

.hero-content .jobs-category-card__view-button {
  padding-block: 1rem;
}
.jobs-category-card__view-button:hover::after,
.job-sidebar__apply:hover::after {
  opacity: 1;
  margin-left: 10px;
  width: 15px;
}

.section-branch-locations {
  overflow: clip;
  background-color: var(--wp--preset--color--white);
}

.branch-locations {
  width: min(100%-2rem, 75rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(16rem, 4fr) minmax(0, 8fr);
}

.branch-locations__count {
  position: absolute;
  top: 3.5rem;
  right: -0.5rem;
  font-size: clamp(10rem, 24vw, 18rem);
  font-weight: 500;
  line-height: 0.75;
  letter-spacing: -0.08em;
  color: rgb(255 255 255 / 0.16);
  user-select: none;
}

.branch-locations__editorial {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(2rem, 4vw, 4rem);
  /*  overflow: hidden; */
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--green);
}

.branch-locations__editorial::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: 0;
  right: 100%;
  width: 50vw;
  background-color: inherit;
}

.branch-locations__editorial-details {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  /* padding: clamp(2rem, 4vw, 4rem); */
  overflow: hidden;
  color: var(--wp--preset--color--white);
  min-height: 100%;
}

.branch-locations__editorial-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5em;
  color: var(--wp--preset--color--white);
  font-weight: 600;
}

.branch-locations__editorial-eyebrow-icon {
  display: block;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  color: inherit;
}

.branch-locations__editorial-heading {
  color: inherit;
  font-size: clamp(2rem, 8.547vw + -3.288rem, 3.25rem);
  line-height: 1.1;
  font-weight: 600;
  max-width: 10ch;
  margin-block-start: auto;
}

.branch-locations__editorial-intro-text {
  max-width: 40ch;
}

.branch-locations__branch-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3vw, 3rem);
  margin: 0;
  padding: 0;
  padding-inline: 1.5rem;
  list-style: none;
}

.branch-locations__branch {
  padding-block: 1.5rem;
  border-top: 1px solid var(--wp--preset--color--light-green);
  display: flex;
  flex-direction: column;
}

.branch-locations__branch:not(:nth-child(n + 3)) {
  border-top-width: 0;
}

.branch-locations__branch-address {
  margin-bottom: 0;
}

.branch-locations__branch-actions {
  /* justify-self: stretch; */
  /* align-self: stretch; */
  flex-grow: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

@media screen and (max-width: 47.9375em) {
  .branch-locations {
    grid-template-columns: 1fr;
  }

  .branch-locations__editorial::before {
    inset-inline: calc(50%-50vw);
    width: auto;
  }

  .branch-locations__branch:is(:nth-child(2)) {
    border-top-width: 1px;
  }

  .branch-locations__branch-list {
    grid-template-columns: 1fr;
  }

  .branch-locations__branch {
    padding-inline: 1rem;
  }
}

/* Candidate Q&A */
.section-candidate-qa {
  padding-block: var(--wp--preset--spacing--x-large);
  background-color: var(--wp--preset--color--light-grey);
}

.candidate-qa__header {
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: var(--wp--preset--spacing--large);
}

.candidate-qa__header .lead {
  margin-bottom: 0;
}

.candidate-qa__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--wp--preset--spacing--small);
  color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--outfit);
  font-weight: 600;
  letter-spacing: 0.75px;
  text-align: center;
  text-transform: uppercase;
}

.candidate-qa__eyebrow-icon {
  display: block;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  color: inherit;
}

.candidate-qa__eyebrow-icon circle {
  fill: currentColor;
}

.candidate-qa__accordion {
  max-width: 53rem;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  border-radius: 0.5rem;
  background-color: var(--wp--preset--color--white);
  box-shadow: 0 0.5rem 1.5rem rgb(35 70 38 / 0.08);
}

.candidate-qa__item {
  border-bottom: 1px solid var(--wp--preset--color--light-green);
}

.candidate-qa__item:first-child {
  border-top: 1px solid var(--wp--preset--color--light-green);
}

.candidate-qa__question {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4rem;
  padding: 1rem 3.5rem 1rem 0;
  color: var(--wp--preset--color--text-color);
  font-family: var(--wp--preset--font-family--outfit);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.candidate-qa__question::-webkit-details-marker {
  display: none;
}

.candidate-qa__question::marker {
  content: "";
}

.candidate-qa__question::after {
  content: "+";
  position: absolute;
  right: 0.375rem;
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background-color: var(--wp--preset--color--light-green);
  color: var(--wp--preset--color--primary);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1;
}

.candidate-qa__question:focus-visible {
  outline: 2px solid var(--wp--preset--color--blue);
  outline-offset: 0.25rem;
}

.candidate-qa__item[open] .candidate-qa__question {
  color: var(--wp--preset--color--primary);
}

.candidate-qa__item[open] .candidate-qa__question::after {
  content: "−";
  background-color: var(--wp--preset--color--primary-cta);
  color: var(--wp--preset--color--black);
}

.candidate-qa__answer {
  max-width: 47.5rem;
  padding: 0 3.5rem 1.25rem 0;
  color: var(--wp--preset--color--dark-grey);
}

.candidate-qa__answer p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 47.9375em) {
  .candidate-qa__header {
    margin-bottom: var(--wp--preset--spacing--medium);
  }

  .candidate-qa__question {
    padding-right: 3rem;
  }

  .candidate-qa__answer {
    padding-right: 0.5rem;
  }
}
/*
Job Details Page (Reusable Component)
*/
.job-detail {
  padding: var(--wp--preset--spacing--x-large) 24px
    var(--wp--preset--spacing--xx-large);
  background: var(--wp--preset--gradient--appleone-white-to-light-green);
}

.sectionHero--dyi {
  background: var(--wp--preset--gradient--appleone-white-to-light-green);
}

.job-details__header {
  font-family: var(--wp--preset--font-family--outfit);
  padding-block: var(--wp--preset--spacing--large);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.job-details__title {
  color: var(--wp--preset--color--primary);
  font-size: var(--wp--preset--font-size--xxx-large);
  line-height: 1.2;
  font-weight: 600;
  margin: 0;
}

.job-details__meta-info {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  margin-block-start: 20px;
}

.job-details__meta-info-item {
  color: var(--wp--preset--color--dark-grey);
  font-size: var(--wp--preset--font-size--small);
  margin-bottom: 0;
}

.job-detail__shell {
  font-family: var(--wp--preset--font-family--outfit);
  max-width: var(--wp--style--global--wide-size, 1200px);
  padding-block: var(--wp--preset--spacing--large);
  margin: 0 auto;
}

.job-detail__header {
  margin-bottom: var(--wp--preset--spacing--large);
}

.wp-block-post-author__content > p,
.wp-block-post-date > p {
  margin-block: 0;
}

.job-detail__eyebrow {
  margin: 0 0 10px;
  font-family: var(--wp--preset--font-family--outfit);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wp--preset--color--blue);
}

.job-detail__title {
  margin: 0 0 16px;
}

.job-details__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.is-layout-constrained > .job-details__summary {
  max-width: var(--wp--style--global--wide-size);
  margin-block-start: 10px;
  margin-block-end: 0;
}

.job-details__summary-item {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  /* padding: 8px 14px; */
  gap: 10px;
  color: var(--wp--preset--color--green);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
}

.job-details__summary-item-icon {
  margin: 0;
  width: 24px;
  flex-shrink: 0;
  flex-grow: 0;
}

.job-details__summary-item-icon > img {
  display: block;
  width: 100%;
  height: auto;
}

.job-details__summary-item-text {
  flex-grow: 1;
  flex-basis: fit-content;
}

.job-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: stretch;
}

.job-detail__main {
  min-width: 0;
}

.job-content {
  background: var(--wp--preset--color--white);
  /* border: 1px solid rgba(0, 82, 54, 0.08);
  border-radius: var(--appleone--preset--border-radius--cards, 10px);
  box-shadow: var(--appleone--preset--shadow--cards); */
  padding: 32px;
  padding-inline-start: 0;
}

.job-content a {
  word-wrap: break-word;
}

.job-description__section > .job-description__heading {
  font-size: var(--wp--preset--font-size--large);
}

.job-description__subheading {
  font-size: var(--wp--preset--font-size--medium);
  color: var(--wp--preset--color--dark-grey);
}

.job-description__summary-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.job-description__section .job-description__summary-list {
  margin: 0 0 1.5rem;
  padding: 0;
}

.job-description__summary-list + * {
  margin-top: 1.5rem;
}

.job-description__summary-list li {
  padding: 12px 16px;
  border: 1px solid var(--wp--preset--color--light-green);
  border-radius: var(--allstem--preset--border-radius--cards, 10px);
  background: var(--wp--preset--color--light-green);
}

.job-content__section + .job-content__section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--wp--preset--color--light-green);
}

.job-content__heading,
.job-content__subheading {
  margin-top: 0;
}

.job-content__heading {
  font-size: var(--wp--preset--font-size--xx-large);
  margin-bottom: 20px;
}

.job-content__body {
  color: var(--wp--preset--color--text-color);
  font-size: var(--wp--preset--font-size--medium);
  line-height: 1.65;
}

.job-content__body p {
  margin: 0 0 16px;
}

.job-content__body ul,
.job-content__body ol {
  margin: 0 0 16px 1.25rem;
  padding: 0;
}

.job-content__body li + li {
  margin-top: 10px;
}

.job-description__section--compliance {
  margin-top: 1.5rem;
}

.job-description__section--compliance p > a {
  display: block;
}

.job-detail__sidebar {
  position: relative;
}

.job-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--wp--preset--color--white);
  /*  border: 1px solid rgba(0, 82, 54, 0.08);
  border-radius: var(--appleone--preset--border-radius--cards, 10px);
  box-shadow: var(--appleone--preset--shadow--cards); */
}

.job-sidebar__position-title {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 500;
  color: var(--wp--preset--color--dark-grey);
  text-wrap: pretty;
  margin-bottom: var(--wp--custom--spacing--10);
}

.job-sidebar__position-details {
  list-style: none;
  margin-left: 0;
  color: var(--wp--preset--color--dark-grey);
}

.job-sidebar__apply,
.job-sidebar__secondary,
.job-sidebar__share-link {
  text-decoration: none;
}

.job-sidebar__apply {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

/* .job-sidebar__apply {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--appleone--preset--border-radius--inputs, 100px);
  background: var(--wp--preset--color--orange);
  color: var(--wp--preset--color--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--wp--preset--shadow--theme-shadow);
  transition: var(--appleone--preset--transition--all);
}

.job-sidebar__apply:hover {
  background: var(--wp--preset--color--primary-cta-hover);
  color: var(--wp--preset--color--white);
  text-decoration: none;
} */
.job-sidebar__share {
  margin-block-end: var(--wp--preset--spacing--medium);
}

.job-sidebar__label {
  margin: 0 0 12px;
  color: var(--wp--preset--color--green);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.job-sidebar__share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-sidebar__position-summary {
  padding-inline-start: 1.5rem;
}

.job-sidebar__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px;
  border-radius: 50%;
  background: var(--wp--preset--color--white);
  /* color: var(--wp--preset--color--); */
  color: var(--wp--preset--color--text-color);
  border: 1px solid #e5e5e5;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  transition: var(--appleone--preset--transition--all);
  aspect-ratio: var(--wp--preset--aspect-ratio--square);
}

.job-sidebar__share-link > svg {
  fill: currentColor;
  transition: var(--appleone--preset--transition--all);
}

.job-sidebar__share-link:hover {
  /* background: var(--wp--preset--color--green); */
  border-color: var(--wp--preset--color--primary);
  text-decoration: none;
}

.job-sidebar__share-link:hover > svg {
  fill: var(--wp--preset--color--primary);
}

.job-sidebar__secondary {
  display: inline-block;
  box-sizing: border-box;
  /* word-break: break-word; */
  text-align: center;
  padding: 15px 30px;
  background: var(--wp--preset--color--secondary-cta);
  border-radius: var(--appleone--preset--border-radius--inputs, 100px);
  /*  border: 2px solid var(--wp--preset--color--blue); */
  color: var(--wp--preset--color--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--appleone--preset--transition--all);
  max-width: 100%;
}

.job-sidebar__secondary::after {
  content: "";
  background-image: var(--appleone--preset--icon--arrow--white);
  display: inline-block;
  width: 0;
  height: 13px;
  margin-right: 0;
  margin-left: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform-origin: left center;
  opacity: 0;
  transition: var(--appleone--preset--transition--all);
}

.job-sidebar__secondary:is(:hover, :focus) {
  background: var(--wp--preset--color--secondary-cta-hover);
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

.job-sidebar__secondary:is(:hover, :focus)::after {
  width: 15px;
  opacity: 1;
  margin-left: 15px;
}

.icon-link {
  display: flex;
  column-gap: 0.25em;
  align-items: center;
  font-weight: bold;
  font-size: 1.125rem;

  margin-inline: auto;
}

.icon-link__text {
  position: relative;

  flex-shrink: 0;
  transition:
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    opacity 0.22s ease;

  &::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s ease;
  }
}
.icon-link:hover .icon-link__text {
  text-decoration: underline;
}
.icon-link:hover .icon-link__text::after {
  transform: scaleX(1);
}

.icon-link__icon {
  flex-grow: 0;
  flex-shrink: 0;
  height: 1em;
  transition-delay: 0.15s;
  transition: 0.22s ease-in-out;
}

.icon-link:hover .icon-link__icon {
  translate: 0.25em;
}

.job-contact-card {
  padding: 20px;
  border-radius: var(--appleone--preset--border-radius--cards, 10px);
  background: var(--wp--preset--color--light-grey);
  border: 1px solid rgba(0, 82, 54, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.job-contact-card__item {
  display: flex;
  align-items: end;
  gap: 8px;
}

.job-contact-card__label {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 600;
  color: var(--wp--preset--color--black);
  flex-basis: 22%;
  min-width: 80px;
  text-align: right;
  flex-shrink: 0;
}

.job-contact-card p {
  margin: 0;
}

@media (max-width: 960px) {
  .post-job-details .site-footer {
    padding-bottom: 4rem;
  }

  .job-detail__layout {
    grid-template-columns: 1fr;
  }

  .job-sidebar {
    position: static;
  }

  .job-detail__sidebar {
    position: static;
  }

  .job-contact-card__item {
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }

  .job-contact-card__label {
    text-align: left;
    flex-basis: auto;
    min-width: 0;
  }

  .job-sidebar__apply-bar {
    background-color: var(--wp--preset--color--white);
    box-shadow: var(--wp--preset--shadow--theme-shadow);
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    z-index: 19;
  }

  .job-sidebar__apply {
    height: 52px;
    border-radius: 0;
    margin: 0;
  }

  .job-sidebar__apply br {
    display: none;
  }
}

@media (max-width: 640px) {
  .job-detail {
    padding-left: 16px;
    padding-right: 16px;
  }

  .job-content {
    padding: 24px 20px;
  }

  .job-sidebar {
    padding: 20px;
  }
}

/* Modal Styles*/
.dyi-modal {
  width: min(720px, calc(100% - 32px));
  border: 0;
  padding: 0;
  border-radius: var(--allstem--preset--border-radius--cards, 10px);
  background: var(--wp--preset--color--white);
  box-shadow: var(
    --allstem--preset--shadow--cards,
    0 12px 32px rgba(0, 0, 0, 0.18)
  );
}

.dyi-modal--job-listings {
  width: min(1200px, calc(100% - 32px));
}

.dyi-modal::backdrop {
  background: rgba(17, 16, 17, 0.56);
}

.dyi-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--wp--preset--color--light-green);
}

.dyi-modal__title {
  margin: 0;
  color: var(--wp--preset--color--green);
  font-size: var(--wp--preset--font-size--x-large);
  text-align: center;
}

.dyi-modal__close {
  border: 0;
  background: transparent;
  color: var(--wp--preset--color--green);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  margin: 0;
  padding: 0;
  align-self: self-start;
}
.dyi-modal__close:is(:focus, :hover) {
  color: var(--wp--preset--color--light-green);
}

.dyi-modal__body {
  padding: 24px;
}

.dyi-modal__message {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: var(--allstem--preset--border-radius--cards, 10px);
  background: var(--wp--preset--color--light-green);
  color: var(--wp--preset--color--green);
}

.dyi-modal__already-applied-title {
  margin: 0 0 8px;
  color: var(--wp--preset--color--green);
}

.apply-modal__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
}

.apply-modal__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--wp--preset--color--light-green);
  border-top-color: var(--wp--preset--color--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.toast-notification {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 360px;
  padding: 14px 18px;
  border-radius: var(--allstem--preset--border-radius--cards, 10px);
  background: var(--wp--preset--color--green);
  color: var(--wp--preset--color--white);
  box-shadow: var(
    --allstem--preset--shadow--cards,
    0 10px 24px rgba(0, 0, 0, 0.16)
  );
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.toast-notification.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Jobs Table (Reusable Component)
   Uses Design System Variables
   ========================================= */

.jobs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--wp--preset--font-family--outfit, Outfit, sans-serif);
  font-size: var(--wp--preset--font-size--small, 15px);
  color: var(--wp--preset--color--text-color);

  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--light-green);
  border-radius: var(--allstem--preset--border-radius--cards, 10px);
  overflow: hidden;
  box-shadow: var(
    --allstem--preset--shadow--cards,
    0 4px 12px rgba(0, 0, 0, 0.06)
  );
  scroll-margin-top: 120px;
}

/* Caption */
.jobs-table__caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 20px;
}

.jobs-table__caption-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wp--preset--color--green);
  opacity: 0.8;
}

.jobs-table__caption-title {
  display: block;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--wp--preset--color--green);
}

.jobs-table__caption-meta {
  display: block;
  margin-top: 8px;
  font-size: var(--wp--preset--font-size--small, 15px);
  color: var(--wp--preset--color--text-color);
  opacity: 0.75;
}
/* Header */

.jobs-table thead th,
.jobs-table tfoot th {
  text-align: left;
  padding: 16px 20px;
  font-weight: 600;
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--green);
  background: var(--wp--preset--color--light-green);
  border-bottom: 1px solid var(--wp--preset--color--light-green);
  vertical-align: middle;
}

.jobs-table thead th:last-child,
.jobs-table tfoot th:last-child {
  text-align: right;
  width: 1%;
  white-space: nowrap;
}

/* Body Rows */

.jobs-table tbody tr {
  transition: background 0.2s ease;
}

.jobs-table tbody tr:hover {
  background: var(--wp--preset--color--light-green);
}

.jobs-table tbody tr + tr td {
  border-top: 1px solid var(--wp--preset--color--light-green);
}

/* Cells */

.jobs-table td {
  padding: 18px 20px;
  vertical-align: middle;
  font-size: var(--wp--preset--font-size--small);
}

/* Job Title */

.jobs-table td:first-child a {
  color: var(--wp--preset--color--green);
  font-weight: 500;
  text-decoration: none;
}

.jobs-table td:first-child a:hover,
.jobs-table td:first-child a:focus {
  text-decoration: underline;
}

/* Meta Columns */

.jobs-table td:nth-child(2),
.jobs-table td:nth-child(3),
.jobs-table td:nth-child(4) {
  color: var(--wp--preset--color--text-color);
  opacity: 0.7;
  white-space: nowrap;
}

.jobs-table td:nth-child(2) {
  font-weight: 600;
  color: var(--wp--preset--color--green);
  opacity: 1;
}

/* Icon Replacement */

.jobs-table .icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
}

.jobs-table .icon::before {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1;
}

.jobs-table .icon--salary::before {
  content: "$";
}

.jobs-table__salary {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--wp--preset--color--light-green);
  color: var(--wp--preset--color--green);
  font-weight: 600;
  font-size: 0.875rem;
}
.jobs-table .icon--date::before {
  content: "📅";
}

.jobs-table .icon--location::before {
  content: "📍";
}

/* Action Cell */

.jobs-table__actions {
  text-align: right;
  white-space: nowrap;
}

.jobs-table__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--allstem--preset--border-radius--buttons, 100px);
  border: 1px solid var(--wp--preset--color--green);
  background: transparent;
  color: var(--wp--preset--color--green);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.jobs-table__button:hover,
.jobs-table__button:focus {
  background: var(--wp--preset--color--green);
  color: var(--wp--preset--color--white);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Footer */

.jobs-table tfoot th {
  padding: 16px 20px;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  color: var(--wp--preset--color--green);
  background: var(--wp--preset--color--light-green);
  border-top: 1px solid var(--wp--preset--color--light-green);
}

.jobs-table tfoot th:last-child {
  text-align: right;
}

/* Responsive */

/* =========================================
   Mobile: Table → Card Layout
   ========================================= */

@media (max-width: 767px) {
  .jobs-table {
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  /* Hide table header */
  .jobs-table thead,
  .jobs-table tfoot {
    display: none;
  }
  .jobs-table caption,
  .jobs-table__caption {
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    text-align: left;
    padding: 0 0 20px;
  }

  .jobs-table__caption-label,
  .jobs-table__caption-title,
  .jobs-table__caption-meta {
    display: block;
    width: 100%;
  }

  .jobs-table__caption-title {
    max-width: none;
    white-space: normal;
    text-align: left;
  }
  /* Table becomes stacked container */
  .jobs-table,
  .jobs-table tbody {
    display: block;
    width: 100%;
  }

  /* Each row becomes a card */
  .jobs-table tr {
    display: block;
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--light-green);
    border-radius: var(--allstem--preset--border-radius--cards, 10px);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(
      --allstem--preset--shadow--cards,
      0 4px 12px rgba(0, 0, 0, 0.06)
    );
  }

  /* Cells stack vertically */
  .jobs-table td {
    display: block;
    padding: 4px 0;
    border: none;
  }

  /* Job title */
  .jobs-table td:first-child {
    margin-bottom: 6px;
  }

  .jobs-table td:first-child a {
    font-size: 16px;
    font-weight: 600;
    color: var(--wp--preset--color--green);
  }

  /* Meta info (salary, date, location) */
  .jobs-table td:nth-child(2),
  .jobs-table td:nth-child(3),
  .jobs-table td:nth-child(4) {
    font-size: 14px;
    color: var(--wp--preset--color--text-color);
    opacity: 0.8;
  }

  /* Add spacing between meta rows */
  .jobs-table td:nth-child(2),
  .jobs-table td:nth-child(3) {
    margin-bottom: 2px;
  }

  /* Actions */
  .jobs-table__actions {
    margin-top: 12px;
    text-align: center;
  }

  .jobs-table__button {
    width: 90%;
    justify-content: center;
    /*  min-height: 40px; */
  }

  /* Remove desktop row borders */
  .jobs-table tbody tr + tr td {
    border-top: none;
  }

  .jobs-table td:nth-child(2)::before {
    content: "Salary: ";
    font-weight: 500;
  }

  .jobs-table td:nth-child(3)::before {
    content: "Posted: ";
    font-weight: 500;
  }

  .jobs-table td:nth-child(4)::before {
    content: "Location: ";
    font-weight: 500;
  }
}

@media (max-width: 900px) {
  .jobs-table td,
  .jobs-table thead th,
  .jobs-table tfoot th {
    padding: 7px 8px;
  }

  .jobs-table__button {
    /* min-height: 34px; */
    padding: 0 14px;
  }
}

/* =========================================
   Jobs Table – Interaction States
   ========================================= */

.jobs-table tbody tr,
.jobs-table td,
.jobs-table td a,
.jobs-table__button {
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    opacity 0.22s ease;
}

/* Desktop row hover */
.jobs-table tbody tr:hover {
  background: var(--wp--preset--color--light-green);
}

.jobs-table tbody tr:hover td:first-child a {
  color: var(--wp--preset--color--green);
}

.jobs-table tbody tr:hover .jobs-table__button {
  border-color: var(--wp--preset--color--green);
}

/* Keyboard focus */
.jobs-table td:first-child a:focus-visible,
.jobs-table__button:focus-visible {
  outline: 2px solid var(--wp--preset--color--blue);
  outline-offset: 2px;
}

/* View Details button */
.jobs-table__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--allstem--preset--border-radius--buttons, 100px);
  border: 1px solid var(--wp--preset--color--green);
  background: transparent;
  color: var(--wp--preset--color--green);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  text-decoration: none;
  will-change: transform;
}

.jobs-table__button:hover {
  background: var(--wp--preset--color--green);
  color: var(--wp--preset--color--white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 82, 54, 0.14);
}

.jobs-table__button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 6px rgba(0, 82, 54, 0.1);
}

/* Job title link */
.jobs-table td:first-child a {
  position: relative;
  text-decoration: none;
}

.jobs-table td:first-child a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}

.jobs-table td:first-child a:hover::after,
.jobs-table td:first-child a:focus-visible::after {
  transform: scaleX(1);
}

/* =========================================
   Mobile card interactions
   ========================================= */

@media (max-width: 767px) {
  .jobs-table tr {
    transition:
      background-color 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease,
      transform 0.22s ease;
  }

  .jobs-table tr:hover {
    background: var(--wp--preset--color--white);
    border-color: var(--wp--preset--color--green);
    box-shadow: 0 8px 20px rgba(0, 82, 54, 0.1);
    transform: translateY(-2px);
  }

  .jobs-table tr:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 82, 54, 0.08);
  }

  .jobs-table__button {
    min-height: 40px;
  }

  .jobs-table__button:hover {
    transform: translateY(-1px);
  }

  .jobs-table__button:active {
    transform: scale(0.985);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .jobs-table tbody tr,
  .jobs-table td,
  .jobs-table td a,
  .jobs-table__button,
  .jobs-table td:first-child a::after {
    transition: none;
  }
}

/* ==========================================================
   Apply Modal - Follow Up
========================================================== */

.apply-modal__followup {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.apply-modal__followup-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);

  text-align: center;
}

.apply-modal__followup-title {
  margin: 0;

  color: var(--wp--preset--color--green);

  font-size: var(--wp--preset--font-size--large);

  font-weight: 700;

  line-height: 1.2;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
}

.apply-modal__success-icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: var(--wp--preset--color--primary);
}

.apply-modal__followup-message {
  margin: 0 auto;

  max-width: 42rem;

  color: var(--wp--preset--color--dark-grey);

  font-size: var(--wp--preset--font-size--medium);

  line-height: 1.6;
}

.apply-modal__followup-content {
  min-height: 700px;

  border-radius: var(--radius-lg);

  overflow: hidden;
}

.apply-modal__followup-content {
  background: var(--wp--preset--color--white);

  border: 1px solid var(--wp--preset--color--light-grey);

  border-radius: var(--radius-lg);

  overflow: hidden;

  min-height: 700px;
}

.apply-modal__content,
.apply-modal__followup {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.apply-modal__followup[hidden] {
  display: none;
}

.apply-modal__intro {
  margin: 0 0 1rem;
  color: var(--wp--preset--color--text-color);
}

.apply-modal__resume-upload-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--wp--preset--color--primary-cta);
  color: var(--wp--preset--color--text-color);
  font-family: var(--wp--preset--font-family--outfit);
  font-weight: 600;
  text-decoration: none;
}

.apply-modal__resume-upload-link[hidden] {
  display: none;
}

.apply-modal__resume-upload-link:hover {
  background: var(--wp--preset--color--primary-cta-hover);
  color: var(--wp--preset--color--text-color);
}

.apply-modal__resume-upload-link:focus-visible {
  outline: 3px solid var(--wp--preset--color--green);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .apply-modal__followup-content {
    min-height: 620px;
  }

  .apply-modal__followup-message {
    max-width: 100%;
  }
}

/* 
    Marketo Form resets
*/
.marketo-form-container .mktoForm {
  width: 100% !important;
  font-family: var(--wp--preset--font-family--outfit) !important;
}

.marketo-form-container .mktoForm .mktoFormCol,
.marketo-form-container .mktoForm .mktoFieldWrap {
  float: none;
  min-height: initial;
}

.marketo-form-container .mktoForm .mktoOffset,
.marketo-form-container .mktoForm .mktoGutter {
  display: none;
}

.marketo-form-container fieldset.mktoFormCol {
  grid-column: 1/-1;
}

.marketo-form-container .mktoForm fieldset legend {
  margin: 0;
  margin-block-end: 1em;
  text-align: center;
  font-size: clamp(1.125rem, 0.693vw + 0.946rem, 1.5rem);
  line-height: clamp(1.688rem, 0.485vw + 1.562rem, 1.95rem);
  color: #666;
}

.marketo-form-container .mktoFormCol {
  margin-bottom: 0 !important;
}

.marketo-form-container .mktoForm .mktoLabel {
  padding-top: 0;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  float: none;
  /* width: 100% !important; */
  display: flex;
  column-gap: 0.5ch;
  align-items: center;
  color: var(--wp--preset--color--text-color);
}

.mktoForm .mktoAsterix {
  order: 2;
  line-height: 1;
  padding: 0 !important;
  height: 0.6rem;
}
.marketo-form-container .mktoForm .mktoField {
  width: 100% !important;
  padding: 12px 16px !important;
  height: 47px;
  box-sizing: border-box;
  border: 1px solid rgb(195, 207, 203) !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  line-height: 47px;
  padding: 0 12px !important;
}

.marketo-form-container .mktoForm .mktoField:focus {
  outline: none !important;
  border-color: var(--wp--preset--color--green) !important;
}

.marketo-form-container .mktoButtonWrap {
  margin-left: 0 !important;
}

.marketo-form-container .mktoForm .mktoButtonRow .mktoButtonWrap .mktoButton {
  background-image: none;
  border: none;
  padding: initial;
  background-color: initial;
}

.marketo-form-container
  .mktoForm
  .mktoButtonRow
  .mktoButtonWrap
  .mktoButton:focus,
.marketo-form-container
  .mktoForm
  .mktoButtonRow
  .mktoButtonWrap
  .mktoButton:hover {
  border: initial;
}

/* ---------------------------------------------
   Marketo input reset (scoped)
   Select, checkbox, radio
   --------------------------------------------- */
.marketo-form-container .mktoForm select,
.marketo-form-container .mktoForm input[type="checkbox"],
.marketo-form-container .mktoForm input[type="radio"] {
  margin: 0;
  font: inherit;
  color: inherit;
}

/* SELECT reset */
.marketo-form-container .mktoForm select {
  background: transparent;
  border: 1px solid currentColor; /* swap to your token */
  border-radius: 0.5rem;
  padding: 0.9rem 2.25rem 0.9rem 0.75rem;
  width: 100%;
  line-height: 1.2;
}

/* Remove Marketo’s width hacks */
.marketo-form-container .mktoForm .mktoHasWidth:not(input) {
  width: auto !important;
}

/* CHECKBOX + RADIO reset */
.marketo-form-container .mktoForm input[type="checkbox"],
.marketo-form-container .mktoForm input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid currentColor; /* swap to your token */
  display: inline-grid;
  place-content: center;
  vertical-align: middle;
  background: transparent;
}

/* Checkbox shape */
.marketo-form-container .mktoForm input[type="checkbox"] {
  border-radius: 0.25rem;
}

/* Radio shape */
.marketo-form-container .mktoForm input[type="radio"] {
  border-radius: 999px;
}

/* Checked indicators */
.marketo-form-container .mktoForm input[type="checkbox"]::before {
  content: "";
  width: 0.55rem;
  height: 0.3rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
}

.marketo-form-container .mktoForm input[type="radio"]::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
}

/* Toggle on checked */
.marketo-form-container .mktoForm input[type="checkbox"]:checked::before,
.marketo-form-container .mktoForm input[type="radio"]:checked::before {
  opacity: 1;
}

/* Focus */
.marketo-form-container .mktoForm input[type="checkbox"]:focus-visible,
.marketo-form-container .mktoForm input[type="radio"]:focus-visible,
.marketo-form-container .mktoForm select:focus-visible {
  outline: 2px solid currentColor; /* swap to your focus token */
  outline-offset: 2px;
}

/* Disabled */
.marketo-form-container .mktoForm input[type="checkbox"]:disabled,
.marketo-form-container .mktoForm input[type="radio"]:disabled,
.marketo-form-container .mktoForm select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Label alignment: put control left, label text right */
.marketo-form-container .mktoForm .mktoCheckboxList label,
.marketo-form-container .mktoForm .mktoRadioList label {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  cursor: pointer;
}

/* Remove Marketo list styling quirks */
.marketo-form-container .mktoForm .mktoCheckboxList,
.marketo-form-container .mktoForm .mktoRadioList {
  padding: 0;
  margin: 0;
}

.marketo-form-container .mktoForm .mktoCheckboxList > label,
.marketo-form-container .mktoForm .mktoRadioList > label {
  margin: 0.35rem 0;
}

/*
    Marketo Forms Basic Styles
*/

.marketo-form-container .mktoFormRow {
  display: grid;
  column-gap: var(--grid-column-gap, 3.5rem);
  row-gap: var(--grid-row-gap, 1.5rem);
}
.marketo-form-container .mktoFormRow + .mktoFormRow {
  /* margin-top: 2rem; */
}

.marketo-form-container .mktoFormRow-cols-2,
.marketo-form-container .mktoFormRow:has(.mktoFormCol + .mktoFormCol) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.marketo-form-container .mktoFormRow textarea {
  resize: vertical;
}
.marketo-form-container .mktoForm .mktoButtonRow {
  display: block;
}

.marketo-form-container .mktoForm .mktoButtonRow .mktoButtonWrap .mktoButton {
  background-color: var(--wp--preset--color--green);
  color: #fff;
  display: inline-flex;
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 100vw;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  align-items: center;
  justify-content: center;
}

.marketo-form-container
  .mktoForm
  .mktoButtonRow
  .mktoButtonWrap
  .mktoButton:where(:focus, :hover) {
  transform: translateY(-2px);
  color: var(--wp--preset--color--white-cta-hover);
  background-color: var(--wp--preset--color--medium-grey);
}
.marketo-form-container
  .mktoForm
  .mktoButtonRow
  .mktoButtonWrap
  .mktoButton:is(:active) {
  background-color: var(--wp--preset--color--green);
  background-image: none;
  color: #fff;
}
/*
    Floating Label Theme
*/
[data-theme="floating-labels"] .mktoForm {
  --transition-time: 300ms;
  --label-color: #999999;
  --input-border-color: #999999;
  --input-focus-border-color: #007a6c;
  --input-focus-bg-color: #eeeeee;
  width: 100% !important;
}

[data-theme="floating-labels"] .mktoForm .mktoField {
  background: none;
  color: var(--label-color);
  font-size: 18px;
  padding: 10px 10px 10px 5px;
  display: block;
  width: 100% !important;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--input-border-color);
  float: none;
}
[data-theme="floating-labels"] .mktoForm textarea.mktoField {
  height: auto;
  min-height: 5rem;
  resize: vertical;
  float: none !important;
}

[data-theme="floating-labels"] .mktoForm .mktoField:focus,
[data-theme="floating-labels"] .mktoForm textarea:focus {
  outline: none;
  background-color: var(--input-focus-bg-color);
}

[data-theme="floating-labels"]
  .mktoForm
  input:is(:focus, :not(:placeholder-shown), :-webkit-autofill)
  ~ .mktoLabel,
[data-theme="floating-labels"]
  .mktoForm
  textarea:is(:focus, :not(:placeholder-shown), :-webkit-autofill)
  ~ .mktoLabel {
  top: -14px;
  font-size: 12px;
  color: var(--input-focus-border-color);
}
[data-theme="floating-labels"] .mktoForm input[type="password"] {
  letter-spacing: 0.3em;
}

[data-theme="floating-labels"] .mktoForm .mktoFieldWrap {
  position: relative;
}
[data-theme="floating-labels"] .mktoForm .mktoLabel {
  color: var(--label-color);
  font-size: 1rem;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: var(--transition-time) ease all;
}
[data-theme="floating-labels"] .mktoForm .bar {
  position: relative;
  display: block;
  width: 100%;
}

[data-theme="floating-labels"] .mktoForm .bar::before {
  content: "";
  height: 2px;
  width: 0;
  bottom: 0px;
  position: absolute;
  background: var(--input-focus-border-color);
  transition: var(--transition-time) ease all;
  left: 0%;
}

[data-theme="floating-labels"]
  .mktoForm
  input:is(:focus, :not(:placeholder-shown), :-webkit-autofill)
  ~ .bar::before,
[data-theme="floating-labels"]
  .mktoForm
  textarea:is(:focus, :not(:placeholder-shown), :-webkit-autofill)
  ~ .bar::before {
  width: 100%;
}
/* ---------------------------------------------
   Floating labels: SELECT (Marketo)
   Pattern: first <option value="">... as placeholder
   <select required>
    <option value="" selected disabled hidden>Select an option</option>
    <option value="A">Option A</option>
   </select>
   --------------------------------------------- */
.marketo-form-container[data-theme="floating-labels"] .mktoForm .mktoFieldWrap {
  position: relative;
}

/* Base select styling so label can sit over it */
.marketo-form-container[data-theme="floating-labels"]
  .mktoForm
  select.mktoField,
.marketo-form-container[data-theme="floating-labels"] .mktoForm select {
  width: 100% !important;
  appearance: none;
  -webkit-appearance: none;
  padding: 1.1rem 2.25rem 0.6rem 0.75rem; /* room for label + chevron */
  line-height: 1.2;
  background: transparent;
}

/* Chevron (pure CSS) */
/*.marketo-form-container[data-theme="floating-labels"] .mktoForm .mktoFieldWrap:has(select)::after {
    content: "";
    position: absolute;
    right: 0.85rem;
    top: 1.25rem;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    pointer-events: none;
    opacity: 0.7;
}*/
.marketo-form-container[data-theme="floating-labels"]
  .mktoForm
  .mktoFieldWrap.mktoFieldWrap--select::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 1.25rem;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0.7;
}

.marketo-form-container[data-theme="floating-labels"]
  .mktoForm
  .mktoFieldWrap--select
  select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.25rem; /* room for chevron */
  background: transparent;
}

.marketo-form-container[data-theme="floating-labels"]
  .mktoForm
  .mktoFieldWrap::after {
  content: none;
}

/* Place label "inside" the select by default */
.marketo-form-container[data-theme="floating-labels"]
  .mktoForm
  select
  + .mktoLabel {
  position: absolute;
  left: 0.75rem;
  top: 1.05rem;
  transform: translateY(0);
  pointer-events: none;
  transition:
    transform 200ms ease,
    font-size 200ms ease,
    top 200ms ease,
    opacity 200ms ease;
  opacity: 0.85;
}

/* Float label when select is focused OR has a real value (valid) */
.marketo-form-container[data-theme="floating-labels"]
  .mktoForm
  select:is(:focus, :valid)
  + .mktoLabel {
  top: 0.35rem;
  font-size: 0.75rem;
  opacity: 1;
}

/* If placeholder option is present and selected, the select is invalid (when required) */
.marketo-form-container[data-theme="floating-labels"]
  .mktoForm
  select:invalid
  + .mktoLabel {
  top: 1.05rem;
  font-size: 1rem;
  opacity: 0.85;
}

/* Optional: underline bar for selects (if you want same bar UI) */
.marketo-form-container[data-theme="floating-labels"] .mktoForm select:focus {
  outline: none;
}

[data-theme="floating-labels"] .mktoForm select:is(:focus) + .bar + .mktoLabel,
[data-theme="floating-labels"]
  .mktoForm
  .mktoFieldWrap[data-has-value="true"]
  select
  + .bar
  + .mktoLabel {
  top: -14px;
  font-size: 12px;
}

/* Bar underline for select */
[data-theme="floating-labels"] .mktoForm select:focus + .bar::before,
[data-theme="floating-labels"]
  .mktoForm
  .mktoFieldWrap[data-has-value="true"]
  select
  + .bar::before {
  width: 100%;
}

/* ================================================================
   Flat jobs directory

   This component is intentionally separate from .region-list-grid,
   .jobs-category-card, and .jobs-table so the region-card layout can
   remain available as a fallback.
   ================================================================ */

.flat-jobs {
  --flat-jobs-border: 1px solid #e3e8e6;
  --flat-jobs-radius: 10px;
  --flat-jobs-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  --flat-jobs-shadow-hover: 0 7px 18px rgba(0, 0, 0, 0.09);
  color: var(--wp--preset--color--text-color);
}

.general-jobs-section {
  padding-block: var(--wp--preset--spacing--x-large);
  background-color: var(--wp--preset--color--light-grey);
}

.general-job-search {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(180px, 0.8fr) auto;
  align-items: end;
  gap: 1rem;
  margin-bottom: var(--wp--preset--spacing--medium);
  border: 1px solid #e3e8e6;
  border-radius: 12px;
  background: var(--wp--preset--color--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.25rem;
}

.general-job-search__field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--wp--preset--color--text-color);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
}

.general-job-search__optional {
  color: var(--wp--preset--color--dark-grey);
  font-weight: 400;
}

.general-job-search input,
.general-job-search select {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 1px solid #b9c3bf;
  border-radius: 8px;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--text-color);
  font-family: var(--wp--preset--font-family--outfit);
}

.general-job-search__button {
  min-height: 46px;
  margin: 0;
  border: 2px solid var(--wp--preset--color--orange);
  border-radius: 999px;
  background: var(--wp--preset--color--orange);
  color: var(--wp--preset--color--black);
  cursor: pointer;
  font-family: var(--wp--preset--font-family--outfit);
  font-weight: 700;
  padding: 0.7rem 1.5rem;
}

.general-job-search__button:hover {
  border-color: var(--wp--preset--color--primary-cta-hover);
  background: var(--wp--preset--color--primary-cta-hover);
}

.general-job-search input:focus-visible,
.general-job-search select:focus-visible,
.general-job-search__button:focus-visible {
  outline: 3px solid var(--wp--preset--color--pale-orange);
  outline-offset: 3px;
}

.general-job-search__error {
  grid-column: 1 / -1;
  margin: 0;
  color: #9c2d20;
  font-weight: 600;
}

@media screen and (max-width: 40em) {
  .general-job-search {
    grid-template-columns: 1fr;
  }

  .general-job-search__button {
    width: 100%;
  }
}

.flat-jobs__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--wp--preset--spacing--small);
  margin-bottom: var(--wp--preset--spacing--small);
}

.flat-jobs__heading {
  margin: 0;
  color: var(--wp--preset--color--text-color);
  font-size: var(--wp--preset--font-size--xx-large);
  font-weight: 600;
}

.flat-jobs__count {
  display: block;
  margin-top: 0.25rem;
  color: var(--wp--preset--color--dark-grey);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: var(--wp--preset--font-size--medium);
}

.flat-jobs__summary {
  margin-bottom: 0.75rem;
}

.flat-jobs__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wp--preset--spacing--small);
  margin-bottom: var(--wp--preset--spacing--small);
}

.flat-jobs__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flat-jobs__mobile-filter {
  display: none;
}

.flat-jobs__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  border: 1px solid var(--wp--preset--color--green);
  border-radius: 999px;
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--green);
  cursor: pointer;
  font-family: var(--wp--preset--font-family--outfit);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.flat-jobs__filter:hover {
  background: var(--wp--preset--color--light-green);
  color: var(--wp--preset--color--green);
  transform: translateY(-1px);
}

.flat-jobs__filter[aria-pressed="true"],
.flat-jobs__filter.is-active {
  border-color: var(--wp--preset--color--green);
  background: var(--wp--preset--color--green);
  color: var(--wp--preset--color--white);
}

.flat-jobs__filter:focus-visible,
.flat-jobs__mobile-filter select:focus-visible,
.flat-jobs__mobile-submit:focus-visible,
.flat-jobs__sort-select:focus-visible,
.flat-job__title-link:focus-visible,
.flat-job__view-button:focus-visible {
  outline: 3px solid var(--wp--preset--color--pale-orange);
  outline-offset: 3px;
}

.flat-jobs__sort {
  position: relative;
  flex: 0 0 auto;
}

.flat-jobs__sort-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.flat-jobs__sort-select {
  min-height: 44px;
  margin: 0;
  border: var(--flat-jobs-border);
  border-radius: 8px;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--text-color);
  cursor: pointer;
  font-family: var(--wp--preset--font-family--outfit);
  font-size: var(--wp--preset--font-size--small);
  padding: 0.65rem 2.5rem 0.65rem 1rem;
}

.flat-jobs__list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flat-job {
  display: grid;
  grid-template-columns:
    minmax(105px, 0.55fr)
    minmax(260px, 1.85fr)
    minmax(145px, 0.9fr)
    auto
    auto;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
  border: var(--flat-jobs-border);
  border-radius: var(--flat-jobs-radius);
  background: var(--wp--preset--color--white);
  box-shadow: var(--flat-jobs-shadow);
  padding: 0.75rem 1rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.flat-job:hover,
.flat-job:focus-within {
  border-color: rgba(0, 82, 54, 0.32);
  box-shadow: var(--flat-jobs-shadow-hover);
  transform: translateY(-2px);
}

.flat-job__region {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 32px;
  border-radius: 7px;
  background: var(--wp--preset--color--light-green);
  color: var(--wp--preset--color--green);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.45rem 0.75rem;
}

.flat-job__region::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.flat-job__title {
  margin: 0;
  font-family: var(--wp--preset--font-family--outfit);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
}

.flat-job__title-link {
  color: var(--wp--preset--color--green);
  text-decoration-color: rgba(0, 82, 54, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

    .flat-job__title-link:hover {
        color: var(--wp--preset--color--pale-orange);
        text-decoration-color: currentColor;
    }

.flat-job__meta {
  min-width: 0;
  margin: 0;
  color: var(--wp--preset--color--dark-grey);
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.flat-job__meta-label {
  display: none;
  margin-bottom: 0.15rem;
  color: var(--wp--preset--color--medium-grey);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.flat-job__status-group {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-self: start;
  gap: 0.3rem;
}

.flat-job__status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(148, 175, 0, 0.14);
  color: var(--wp--preset--color--green);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.45rem 0.75rem;
  white-space: nowrap;
}

.flat-job__status-date {
  color: var(--wp--preset--color--dark-grey);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
  margin-inline: auto;
}

.flat-job__status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--wp--preset--color--olive);
}

.flat-job__actions {
  justify-self: end;
}

.flat-job__view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 2px solid var(--wp--preset--color--orange);
  border-radius: 999px;
  background: var(--wp--preset--color--orange);
  color: var(--wp--preset--color--black);
  font-family: var(--wp--preset--font-family--outfit);
  font-size: var(--wp--preset--font-size--small);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.flat-job__view-button:hover {
  border-color: var(--wp--preset--color--primary-cta-hover);
  background: var(--wp--preset--color--primary-cta-hover);
  color: var(--wp--preset--color--black);
  transform: translateX(2px);
}

.flat-jobs__empty {
  border: 1px dashed rgba(0, 82, 54, 0.35);
  border-radius: var(--flat-jobs-radius);
  background: var(--wp--preset--gradient--appleone-white-to-light-green);
  color: var(--wp--preset--color--dark-grey);
  padding: var(--wp--preset--spacing--medium);
  text-align: center;
}

@media screen and (max-width: 67.5em) {
  .flat-job {
    grid-template-columns:
      minmax(95px, 0.5fr)
      minmax(230px, 1.65fr)
      minmax(125px, 0.9fr)
      auto
      auto;
    gap: 0.75rem;
  }
}

@media screen and (max-width: 53.125em) {
  .flat-jobs__toolbar {
    align-items: flex-start;
  }

  .flat-job {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: start;
    padding: 1rem;
  }

  .flat-job__region,
  .flat-job__title {
    grid-column: 1 / 3;
  }

  .flat-job__region {
    grid-row: 1;
  }

  .flat-job__title {
    grid-row: 2;
  }

  .flat-job__salary {
    grid-column: 1 / 3;
    grid-row: 3;
  }

  .flat-job__status-group {
    grid-column: 1 / 3;
    grid-row: 4;
  }

  .flat-job__actions {
    grid-column: 3;
    grid-row: 1 / 5;
    align-self: center;
  }

  .flat-job__meta-label {
    display: block;
  }
}

@media screen and (max-width: 40em) {
  .flat-jobs__header,
  .flat-jobs__toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .flat-jobs__sort,
  .flat-jobs__sort-select {
    width: 100%;
  }

  .flat-job {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem 1rem;
  }

  .flat-job__region {
    grid-column: 1;
    grid-row: 1;
  }

  .flat-job__status-group {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    align-items: flex-end;
  }

  .flat-job__title,
  .flat-job__salary,
  .flat-job__actions {
    grid-column: 1 / -1;
  }

  .flat-job__title {
    grid-row: 2;
  }

  .flat-job__salary {
    grid-row: 3;
  }

  .flat-job__actions {
    grid-row: 4;
    justify-self: stretch;
  }

  .flat-job__view-button {
    width: 100%;
  }
}

@media screen and (max-width: 30em) {
  .flat-job {
    grid-template-columns: 1fr;
  }

  .flat-job__region,
  .flat-job__title,
  .flat-job__salary,
  .flat-job__status-group,
  .flat-job__actions {
    grid-column: 1;
    grid-row: auto;
  }

  .flat-job__status-group {
    align-items: flex-start;
  }
}

@media screen and (max-width: 600px) {
  .flat-jobs__filter-nav {
    display: none;
  }

  .flat-jobs__mobile-filter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .flat-jobs__mobile-filter label {
    color: var(--wp--preset--color--text-color);
    font-family: var(--wp--preset--font-family--outfit);
    font-weight: 600;
  }

  .flat-jobs__mobile-filter select {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0.65rem 1rem;
    border: 1px solid var(--wp--preset--color--green);
    border-radius: 8px;
    background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--text-color);
    font-family: var(--wp--preset--font-family--outfit);
    font-size: 1rem;
  }

  .flat-jobs__mobile-submit {
    min-height: 44px;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 8px;
    background: var(--wp--preset--color--green);
    color: var(--wp--preset--color--white);
    font-family: var(--wp--preset--font-family--outfit);
    font-weight: 600;
    cursor: pointer;
  }

  .flat-jobs__mobile-filter.is-enhanced .flat-jobs__mobile-submit {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flat-jobs__filter,
  .flat-job,
  .flat-job__view-button {
    transition: none;
  }

  .flat-jobs__filter:hover,
  .flat-job:hover,
  .flat-job:focus-within,
  .flat-job__view-button:hover {
    transform: none;
  }
}
