/* =========================================
   CAREER PAGE
   Standardized with content.css luxury colors,
   typography rhythm and 5-star minimal layout.
========================================= */

:root{
  --career-cream:var(--cream,#f4f1e9);
  --career-title:#2b2723;
  --career-card-title:#2f2a26;
  --career-reading:#4e4e4e;
  --career-muted:#68625c;
  --career-red:var(--red,#8b0304);
  --career-line:var(--line,rgba(139,3,4,.14));
  --career-section-width:min(1250px,74vw);
  --career-heading-font:"Americana", var(--font-heading, Georgia, "Times New Roman", serif);
}

.career-hero{
  position:relative;
  min-height:68vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#111;
  color:#fff;
}

.career-hero-media,
.career-hero-overlay{
  position:absolute;
  inset:0;
}

.career-hero-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.career-hero-overlay{
  z-index:1;
  background:
    linear-gradient(180deg,rgba(0,0,0,.48),rgba(0,0,0,.18),rgba(0,0,0,.62)),
    rgba(97,54,15,.18);
}

.career-hero-content{
  position:relative;
  z-index:2;
  width:min(720px,calc(100% - 48px));
  padding-top:80px;
  text-align:center;
}

.career-hero h1,
.career-philosophy h2,
.career-section-head h2{
  margin:0;
  font-family:var(--career-heading-font);
  font-weight:400;
  text-transform:none;
  letter-spacing:.002em;
}

.career-hero h1{
  color:#fff8ee;
  font-size:30px;
  line-height:1.12;
}

.career-philosophy{
  padding:100px 0;
  background:var(--career-cream);
}

.career-philosophy .wide-container,
.career-jobs .wide-container{
  width:var(--career-section-width);
  max-width:var(--career-section-width);
  margin-left:auto;
  margin-right:auto;
}

.career-philosophy-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:48px;
}

.career-philosophy article{
  position:relative;
}

.career-philosophy article::before{
  content:"";
  display:block;
  width:42px;
  height:1px;
  margin-bottom:24px;
  background:var(--career-red);
  opacity:.82;
}

.career-philosophy h2{
  margin-bottom:18px;
  color:var(--career-title);
  font-size:20px;
  line-height:1.14;
}

.career-philosophy p{
  margin:0;
  color:var(--career-reading);
  font-size:14px;
  font-weight:400;
  line-height:1.76;
  letter-spacing:.004em;
}

.career-jobs{
  padding:96px 0 112px;
  background:var(--career-cream);
}

.career-section-head{
  max-width:680px;
  margin:0 auto 42px;
  text-align:center;
}

.career-section-head span{
  display:block;
  margin-bottom:15px;
  color:var(--career-red);
  font-size:10px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.24em;
  text-transform:uppercase;
}

.career-section-head h2{
  color:var(--career-title);
  font-size:30px;
  line-height:1.12;
}

.career-empty-state{
  position:relative;
  width:min(760px,100%);
  margin:0 auto;
  padding:62px 34px 66px;
  text-align:center;
  background:rgba(255,255,255,.26);
  border-top:1px solid var(--career-line);
  border-bottom:1px solid var(--career-line);
}

.career-empty-state::before,
.career-empty-state::after{
  content:"";
  position:absolute;
  left:50%;
  width:1px;
  height:30px;
  background:var(--career-red);
  opacity:.55;
  transform:translateX(-50%);
}

.career-empty-state::before{
  top:0;
}

.career-empty-state::after{
  bottom:0;
}

.career-empty-state p{
  margin:0;
  color:var(--career-reading);
  font-size:15px;
  font-weight:400;
  line-height:1.76;
  letter-spacing:.018em;
}

@media(max-width:1320px){
  :root{
    --career-section-width:min(1120px,82vw);
  }
}

@media(max-width:980px){
  :root{
    --career-section-width:min(760px,88vw);
  }

  .career-philosophy{
    padding:88px 0;
  }

  .career-philosophy-grid{
    grid-template-columns:1fr;
    gap:38px;
    text-align:center;
  }

  .career-philosophy article::before{
    margin-left:auto;
    margin-right:auto;
  }

  .career-jobs{
    padding:82px 0 92px;
  }
}

@media(max-width:560px){
  :root{
    --career-section-width:100%;
  }

  .career-hero{
    min-height:62vh;
  }

  .career-hero-content{
    width:calc(100% - 44px);
    padding-top:70px;
  }

  .career-hero h1,
  .career-section-head h2{
    font-size:30px;
    line-height:1.13;
  }

  .career-philosophy,
  .career-jobs{
    padding-left:0;
    padding-right:0;
  }

  .career-philosophy .wide-container,
  .career-jobs .wide-container{
    width:100%;
    max-width:100%;
    padding-left:22px;
    padding-right:22px;
    box-sizing:border-box;
  }

  .career-philosophy{
    padding-top:76px;
    padding-bottom:76px;
  }

  .career-philosophy-grid{
    gap:34px;
  }

  .career-philosophy p,
  .career-empty-state p{
    font-size:14px;
    line-height:1.72;
    letter-spacing:.003em;
  }

  .career-jobs{
    padding-top:76px;
    padding-bottom:86px;
  }

  .career-section-head{
    margin-bottom:34px;
  }

  .career-empty-state{
    padding:54px 22px 58px;
  }
}


/* =========================================
   AMERICANA TITLE FONT OVERRIDE
   All Career titles always use Americana.
========================================= */
.career-hero h1,
.career-philosophy h2,
.career-section-head h2,
.career-jobs h2,
.career-jobs h3{
  font-family:var(--career-heading-font) !important;
  font-weight:400 !important;
}
