/* ===============================
   MEMS Jobs Section
   Clean, Professional, Subtle Glass
   Radius: 5px
   =============================== */

.mems-jobs{
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 24px;
  display: block; /* was grid */
}

/* Left title block */
.mems-jobs h1,
.mems-jobs h2{
  font-size: 3.2rem;
  line-height: 1.05;
  letter-spacing: 1px;
  margin: 0;
}

/* Grid of jobs */
.mems-jobs__grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

/* ===============================
   Job Card
   =============================== */

.mems-job{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.20);
  backdrop-filter: blur(6px);
  transition: transform .15s ease, box-shadow .15s ease;
}

.mems-job:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

/* Title */
.mems-job__title{
  margin: 0 0 16px 0;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .3px;
}

/* Meta text */
.mems-job__meta{
  margin: 0 0 18px 0;
  font-size: .9rem;
  opacity: .85;
  line-height: 1.4;
}

/* ===============================
   Buttons
   =============================== */

.mems-job__actions{
  display: flex;
  gap: 14px;
  align-items: center;
}

/* Base button */
.mems-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .3px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.08);
  color: inherit;
  transition: all .15s ease;
  cursor: pointer;
}

/* Primary action */
.mems-btn.primary{
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}

.mems-btn.primary:hover{
  background: rgba(255,255,255,0.28);
}

/* Secondary (Share) */
.mems-btn.mems-share{
  background: rgba(0,0,0,0.18);
  border-color: rgba(255,255,255,0.18);
}

.mems-btn.mems-share:hover{
  background: rgba(0,0,0,0.28);
}

/* ===============================
   Search + Tools
   =============================== */

.mems-jobs__tools{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
}

.mems-jobs__search{
  flex: 1;
  min-width: 260px;
  padding: 12px 16px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.06);
  color: inherit;
  font-size: .95rem;
}

.mems-jobs__search::placeholder{
  opacity: .75;
}

.mems-jobs__all{
  padding: 0px 16px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  transition: background .15s ease;
}

.mems-jobs__all:hover{
  background: rgba(255,255,255,0.18);
}

/* ===============================
   Empty / Loading States
   =============================== */

.mems-jobs__empty{
  opacity: .85;
  padding: 20px 0;
}

/* ===============================
   Responsive
   =============================== */

@media (max-width: 1000px){
  .mems-jobs{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mems-jobs h1,
  .mems-jobs h2{
    font-size: 2.4rem;
  }
}
/* Remove top space above jobs section */
.mems-jobs{
  margin-top: 0 !important;
  padding-top: 0 !important;
}