/* FDC Careers - Frontend Styles */

.fdc-car-hero, .fdc-car-wrap, .fdc-cd-back, .fdc-cd-title-block, .fdc-cd-wrap{
  --fdc-teal-dark:#0b3b36;
  --fdc-teal-accent:#2bb3a3;
  --fdc-teal-light:#e8f5f3;
  --fdc-gold:#f0c94a;
  --ink:#0f2a27;
  --muted:#5c7874;
  --white:#ffffff;
  --border:rgba(11,59,54,0.10);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.fdc-car-hero *, .fdc-car-wrap *, .fdc-cd-back *, .fdc-cd-title-block *, .fdc-cd-wrap *{
  box-sizing:border-box;
}

/* ---------- Listing page ---------- */

.fdc-car-hero{
  text-align:center;
  padding:40px 24px 20px;
}

.fdc-car-eyebrow{
  text-transform:uppercase;
  letter-spacing:2.5px;
  font-size:12px;
  font-weight:700;
  color:var(--fdc-teal-accent);
  margin:0 0 12px;
}

.fdc-car-hero h1{
  font-family:'Poppins', 'Inter', sans-serif;
  font-size:clamp(28px, 4vw, 40px);
  font-weight:800;
  margin:0 0 14px;
  color:#0f0f0f;
}

.fdc-car-hero p{
  max-width:560px;
  margin:0 auto;
  color:var(--muted);
  font-size:15.5px;
  line-height:1.6;
}

.fdc-car-wrap{
  max-width:960px;
  margin:0 auto;
  padding:20px 24px 60px;
  color:var(--ink);
}

.fdc-car-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

@media (max-width:700px){
  .fdc-car-grid{grid-template-columns:1fr;}
}

.fdc-car-card{
  background:var(--white);
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 10px 26px rgba(11,59,54,0.06);
  padding:26px 26px 22px;
  display:flex;
  flex-direction:column;
  gap:14px;
  text-decoration:none;
  color:inherit;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.fdc-car-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(11,59,54,0.12);
}

.fdc-car-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.fdc-car-dept{
  font-size:11.5px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.5px;
  color:var(--fdc-teal-accent);
  background:var(--fdc-teal-light);
  padding:5px 12px;
  border-radius:20px;
  white-space:nowrap;
}

.fdc-car-deadline{
  font-size:11.5px;
  font-weight:700;
  color:#8a6d00;
  background:#fdf4dd;
  padding:5px 12px;
  border-radius:20px;
  white-space:nowrap;
}

.fdc-car-card h2{
  font-family:'Poppins', 'Inter', sans-serif;
  font-size:19px;
  font-weight:700;
  margin:0;
  color:var(--ink);
}

.fdc-car-card p.fdc-car-summary{
  margin:0;
  font-size:13.5px;
  color:var(--muted);
  line-height:1.55;
}

.fdc-car-view{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13.5px;
  font-weight:700;
  color:var(--fdc-teal-dark);
}

.fdc-car-view svg{
  width:14px;
  height:14px;
  transition:transform 0.2s ease;
}

.fdc-car-card:hover .fdc-car-view svg{
  transform:translateX(3px);
}

.fdc-car-empty{
  text-align:center;
  padding:60px 24px;
  color:var(--muted);
  font-size:14.5px;
  background:var(--white);
  border-radius:16px;
  border:1px dashed var(--border);
}

.fdc-car-empty a{
  color:var(--fdc-teal-dark);
  font-weight:600;
}

/* ---------- Detail page ---------- */

.fdc-cd-back{
  max-width:1000px;
  margin:20px auto 0;
  padding:0 24px;
}

.fdc-cd-back a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13.5px;
  font-weight:600;
  color:var(--fdc-teal-dark);
  text-decoration:none;
}

.fdc-cd-title-block{
  max-width:1000px;
  margin:24px auto 0;
  padding:0 24px;
  color:var(--ink);
}

.fdc-cd-title-block .fdc-cd-dept{
  display:inline-block;
  font-size:11.5px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.5px;
  color:var(--fdc-teal-dark);
  background:var(--fdc-gold);
  padding:5px 14px;
  border-radius:20px;
  margin-bottom:14px;
}

.fdc-cd-title-block h1{
  font-family:'Poppins', 'Inter', sans-serif;
  font-size:clamp(24px, 3.5vw, 32px);
  font-weight:800;
  margin:0;
  color:#0f0f0f;
}

.fdc-cd-wrap{
  max-width:1000px;
  margin:0 auto;
  padding:24px 24px 90px;
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:28px;
  align-items:start;
  color:var(--ink);
}

@media (max-width:800px){
  .fdc-cd-wrap{grid-template-columns:1fr;}
}

.fdc-cd-main{
  background:var(--white);
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 10px 26px rgba(11,59,54,0.06);
  padding:32px;
}

.fdc-cd-main h3{
  font-family:'Poppins', 'Inter', sans-serif;
  font-size:16px;
  font-weight:700;
  color:var(--fdc-teal-dark);
  margin:0 0 14px;
  padding-bottom:10px;
  border-bottom:2px solid var(--fdc-teal-light);
}

.fdc-cd-main h3:not(:first-child){
  margin-top:32px;
}

.fdc-cd-main ul{
  margin:0;
  padding-left:20px;
}

.fdc-cd-main li{
  font-size:14.5px;
  color:var(--ink);
  line-height:1.6;
  margin-bottom:10px;
}

.fdc-cd-main li:last-child{
  margin-bottom:0;
}

.fdc-cd-sidebar{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.fdc-cd-box{
  background:var(--white);
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 10px 26px rgba(11,59,54,0.06);
  padding:26px;
}

.fdc-cd-box.deadline{
  background:linear-gradient(160deg, var(--fdc-teal-dark), #0e453f);
  color:var(--white);
  border:none;
  text-align:center;
}

.fdc-cd-box.deadline .label{
  font-size:11.5px;
  text-transform:uppercase;
  letter-spacing:0.5px;
  color:var(--fdc-gold);
  font-weight:700;
  margin-bottom:8px;
}

.fdc-cd-box.deadline .date{
  font-family:'Poppins', 'Inter', sans-serif;
  font-size:18px;
  font-weight:800;
}

.fdc-cd-box h4{
  font-family:'Poppins', 'Inter', sans-serif;
  font-size:14.5px;
  font-weight:700;
  color:var(--fdc-teal-dark);
  margin:0 0 16px;
}

.fdc-cd-contact-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:12px;
  font-size:13.5px;
  color:var(--ink);
  line-height:1.5;
}

.fdc-cd-contact-row:last-child{
  margin-bottom:0;
}

.fdc-cd-contact-row svg{
  width:16px;
  height:16px;
  flex-shrink:0;
  margin-top:2px;
  color:var(--fdc-teal-accent);
}

.fdc-cd-contact-row a{
  color:var(--fdc-teal-dark);
  font-weight:600;
  text-decoration:none;
}

.fdc-cd-apply-btn{
  display:block;
  text-align:center;
  margin-top:18px;
  padding:14px;
  border-radius:10px;
  background:var(--fdc-teal-accent);
  color:var(--white) !important;
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  letter-spacing:0.3px;
  transition:background 0.15s ease;
}

.fdc-cd-apply-btn:hover{
  background:var(--fdc-teal-dark);
}

.fdc-career-full-width{
  display:block;
  width:100%;
  max-width:100%;
}

/* ---------- No-sidebar / full-width fallback for the detail page ----------
   Best-effort CSS for themes that don't automatically honor the
   full-width body classes added by the plugin. Hides the most common
   sidebar container patterns used across popular WordPress themes. */

body.fdc-no-sidebar #secondary,
body.fdc-no-sidebar .sidebar,
body.fdc-no-sidebar .widget-area,
body.fdc-no-sidebar aside.widget-area,
body.fdc-no-sidebar #sidebar,
body.fdc-no-sidebar .ast-sidebar,
body.fdc-no-sidebar .right-sidebar,
body.fdc-no-sidebar .left-sidebar{
  display:none !important;
}

body.fdc-no-sidebar #primary,
body.fdc-no-sidebar .content-area,
body.fdc-no-sidebar #main-content,
body.fdc-no-sidebar .site-main,
body.fdc-no-sidebar .ast-container .ast-row > div{
  width:100% !important;
  max-width:100% !important;
  flex:0 0 100% !important;
  float:none !important;
}
