/* GYMEX — CAREER PAGE (page-specific styles only)
   Shared base (nav, footer, buttons, dropdown, mobile menu) from style.css */

/* ── HERO ── (same treatment as home: full-bleed dashboard bg image) */
.mm-hero {
  position: relative;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  padding: 16px calc(50vw - 50% + 40px) 44px;
  background: url("../assets/home%20page%20banner%20image.webp") 75% top/cover no-repeat var(--BG);
  border-radius: 0;
  /* same home banner (2243x701) — keep the hero tall enough so it never crops */
  min-height: calc(100vw * 701 / 2243);
  display: flex;
  align-items: center;
}
.mm-hero > .mm-hero-grid { flex: 1 1 auto; }
/* readability scrim over the left half, same as home hero */
.mm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(245,248,255,.92) 0%, rgba(245,248,255,.7) 32%, rgba(245,248,255,0) 58%);
}
.mm-hero-grid { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .mm-hero::after {
    background: linear-gradient(180deg, rgba(245,248,255,.94) 0%, rgba(245,248,255,.88) 100%);
  }
}
.mm-hero-grid { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mm-h1 {
  font-size: clamp(30px, 3.4vw, 44px); font-weight: 800;
  line-height: 1.14; letter-spacing: -0.02em;
  margin-bottom: 14px; color: var(--gray-100);
}
.mm-desc {
  color: var(--gray-80); font-size: 14px; line-height: 1.75;
  margin-bottom: 24px;
}

/* Home-style CTA + checkmark tags */
.mm-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 100px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.mm-btn:hover { transform: translateY(-2px); filter: brightness(1.03); }
.mm-btn-orange {
  background: linear-gradient(135deg, var(--orange-100), #e0450b);
  color: #fff;
  padding: 6px 6px 6px 28px;
  gap: 12px;
}
.mm-btn-orange i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--orange-100) !important;
  font-size: 16px !important;
  transition: transform .2s ease !important;
  transform: rotate(45deg) !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.mm-btn:hover i { transform: translateX(3px); }
.mm-hero-cta { margin: 14px 0 28px; }
.mm-hero-tags { display: flex; gap: 38px; flex-wrap: wrap; }
.mm-hero-tags span { font-size: 13.5px; font-weight: 500; color: var(--gray-80); display: inline-flex; align-items: center; }
.mm-hero-tags i { color: var(--blue); margin-right: 6px; }
.mm-hero-eyebrow {
  color: var(--blue);
  font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
}
.mm-hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-100); box-shadow: 0 0 12px var(--orange-100); }

/* Hero image card */
.career-hero-card {
  width: 100%; max-width: 420px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--blue), #1b6fa8);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.career-hero-card::before {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3csvg width='400' height='300' viewBox='0 0 400 300' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='400' height='300' fill='url(%23heroGrad)'/%3e%3crect x='40' y='200' width='320' height='80' rx='20' fill='%23ffffff' fill-opacity='0.08'/%3e%3crect x='60' y='160' width='280' height='30' rx='10' fill='%23ffffff' fill-opacity='0.05'/%3e%3crect x='80' y='120' width='240' height='20' rx='8' fill='%23ffffff' fill-opacity='0.04'/%3e%3crect x='100' y='90' width='200' height='16' rx='6' fill='%23ffffff' fill-opacity='0.03'/%3e%3cdefs%3e%3clinearGradient id='heroGrad' x1='0' y1='0' x2='400' y2='300'%3e%3cstop stop-color='%23028ece'/%3e%3cstop offset='1' stop-color='%231b4f8a'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e") center/cover;
}
.career-hero-card .hero-icon-group {
  position: relative; z-index: 1;
  display: flex; gap: 20px; align-items: flex-end;
}
.career-hero-card .hero-icon-group .icon-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}
.career-hero-card .hero-icon-group .icon-circle.large {
  width: 80px; height: 80px; font-size: 32px;
}
.career-hero-card .hero-icon-group .icon-circle.small {
  width: 50px; height: 50px; font-size: 20px;
}

/* ── SECTIONS ── */
.mm-section { width: 100%; max-width: 100%; padding: 60px 40px; margin: 0 auto; }
.mm-heading { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.mm-heading h2 {
  font-size: 36px; font-weight: 800;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.mm-heading p { color: var(--gray-80); font-size: 14px; line-height: 1.7; }

/* ── JOB CARDS ── */
.career-jobs { max-width: 1000px; margin: 0 auto; }

.gx-career-card {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f8;
  border-left: 4px solid var(--blue);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.gx-career-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.gx-career-header {
  display: flex; align-items: center;
  justify-content: space-between;
  cursor: pointer; padding: 24px 28px;
  gap: 16px; flex-wrap: nowrap;
}
.gx-career-header:hover { background: #fafcff; }

.gx-job-title {
  font-size: 18px; font-weight: 700;
  color: var(--blue); margin: 0 0 4px;
}
.gx-job-desc {
  font-size: 14px; color: #666;
  line-height: 1.6; margin: 0;
}
.gx-career-meta { flex-shrink: 0;
  font-size: 13px; color: #555;
  white-space: nowrap;
}
.gx-career-meta p { margin: 4px 0; }
.gx-apply-btn { flex-shrink: 0;
  background: var(--blue); color: #fff;
  padding: 10px 26px; border-radius: 10px;
  text-decoration: none; font-size: 14px;
  font-weight: 600; display: inline-block;
  white-space: nowrap; transition: background .2s ease, transform .2s ease;
}
.gx-apply-btn:hover { background: #0270a0; transform: translateY(-1px); }

/* Accordion details */
.gx-career-details {
  display: none; padding: 0 28px 24px;
  border-top: 1px solid #eef1f8;
  font-size: 13.5px; color: #555; line-height: 1.7;
}
.gx-career-details h5 {
  font-weight: 700; margin: 16px 0 8px; color: var(--gray-100);
}
.gx-career-details ul {
  padding-left: 20px; margin-bottom: 16px;
}
.gx-career-details li { margin-bottom: 4px; }
.gx-career-details strong { color: var(--gray-100); }

/* ── CTA BANNER ── */
.mm-cta-banner {
  text-align: center;
  background: linear-gradient(120deg, var(--navy-100), #142a5c);
  border-radius: var(--radius); padding: 44px 30px;
  max-width: 1000px; margin: 0 auto 50px;
}
.mm-cta-banner h2 {
  color: #fff; font-size: 36px; font-weight: 700;
  margin-bottom: 22px; text-transform: uppercase;
}
.mm-cta-banner .accent { color: #7fb0ff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .mm-hero { padding: 24px 16px 20px; border-radius: 0 0 20px 20px; margin-bottom: 16px; }
  .mm-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .career-hero-card { max-width: 100%; margin: 0 auto; }
  .mm-section { padding: 36px 16px; }
  .gx-career-header { flex-direction: column; align-items: flex-start; }
  .gx-career-meta { flex-shrink: 0; display: flex; gap: 16px; }
  .gx-apply-btn { flex-shrink: 0; align-self: flex-start; }
  .mm-hero-tags { gap: 16px; flex-wrap: wrap; }
  .mm-hero-tags span { font-size: 12px; }
  .mm-btn { padding: 12px 20px; font-size: 13px; }
  .mm-btn-orange { padding: 4px 4px 4px 18px; gap: 8px; }
  .mm-btn-orange i { width: 34px; height: 34px; min-width: 34px; font-size: 13px; }
  .mm-hero-cta { margin: 12px 0 24px; }
}
@media (max-width: 600px) {
  .mm-hero { padding: 24px 12px 32px; }
  .mm-section { padding: 24px 12px; }
  .gx-career-header { padding: 18px 16px; }
  .gx-career-details { padding: 0 16px 18px; }
  .gx-career-meta { flex-shrink: 0; flex-direction: column; gap: 0; }
  .mm-cta-banner { padding: 28px 16px; }
}
