/* ============================================================
   CathLab.com — Main Stylesheet
   Aesthetic: Warm editorial professional
   Fonts: Fraunces (display) + Plus Jakarta Sans (body)
   WordPress-ready: structure mirrors WP template hierarchy
============================================================ */


/* ============================================================
   1. CSS CUSTOM PROPERTIES
============================================================ */
:root {
  /* Color palette */
  --color-bg:           #F7F5F0;     /* warm cream background */
  --color-surface:      #FFFFFF;
  --color-surface-2:    #F0EDE6;     /* subtle off-white for hover states */
  --color-dark:         #1B2B3C;     /* deep navy — primary text */
  --color-dark-2:       #2D3E50;     /* slightly lighter navy */

  /* Brand teal — professional, healthcare-adjacent, not clinical */
  --color-teal:         #177A6F;
  --color-teal-hover:   #115E55;
  --color-teal-light:   #E4F2F0;
  --color-teal-border:  rgba(23, 122, 111, 0.25);

  /* Coral accent — for employer CTA, warmth */
  --color-coral:        #C94B38;
  --color-coral-hover:  #A73B2C;
  --color-coral-light:  #FDF0ED;

  /* Text hierarchy */
  --color-text:         #1B2B3C;
  --color-text-secondary: #556070;
  --color-text-muted:   #8C97A3;

  /* Borders */
  --color-border:       #E0DCD4;
  --color-border-light: #EAE7E0;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(27, 43, 60, 0.05);
  --shadow-sm:  0 1px 4px rgba(27, 43, 60, 0.06), 0 1px 2px rgba(27, 43, 60, 0.04);
  --shadow-md:  0 4px 14px rgba(27, 43, 60, 0.08), 0 2px 6px rgba(27, 43, 60, 0.04);
  --shadow-lg:  0 8px 28px rgba(27, 43, 60, 0.09), 0 3px 8px rgba(27, 43, 60, 0.05);
  --shadow-hover: 0 14px 36px rgba(27, 43, 60, 0.11), 0 4px 12px rgba(27, 43, 60, 0.07);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-full: 999px;

  /* Layout */
  --container-max: 1180px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --nav-height:    68px;

  /* Motion */
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0.0, 1, 1);
  --ease:      cubic-bezier(0.4, 0.0, 0.2, 1);
  --duration:  200ms;
  --transition: var(--duration) var(--ease);
}


/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

ul, ol {
  list-style: none;
}


/* ============================================================
   3. LAYOUT UTILITIES
============================================================ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-optical-sizing: auto;
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-top: 0.3rem;
}

.section-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-teal);
  white-space: nowrap;
  transition: opacity var(--transition);
  flex-shrink: 0;
}
.section-link:hover { opacity: 0.75; }

.section-footer {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}


/* ============================================================
   4. BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.8125rem 1.625rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

/* Nav CTA */
.btn--nav {
  background: var(--color-teal);
  color: #fff;
  font-size: 0.875rem;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-sm);
}
.btn--nav:hover {
  background: var(--color-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23,122,111,0.35);
}
.btn--nav:active {
  transform: translateY(0);
}

/* Primary — job seeker */
.btn--primary {
  background: var(--color-teal);
  color: #fff;
  width: 100%;
  padding: 0.875rem 1.625rem;
  letter-spacing: 0.01em;
}
.btn--primary:hover {
  background: var(--color-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(23,122,111,0.35);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Secondary — employer */
.btn--secondary {
  background: var(--color-coral);
  color: #fff;
  width: 100%;
  padding: 0.875rem 1.625rem;
  letter-spacing: 0.01em;
}
.btn--secondary:hover {
  background: var(--color-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201,75,56,0.35);
}
.btn--secondary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Card button — view job */
.btn--card {
  background: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
  width: 100%;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  transition: all 220ms var(--ease-out);
  letter-spacing: 0.01em;
}
.btn--card:hover {
  background: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23,122,111,0.25);
}
.btn--card:active {
  transform: translateY(0);
}

/* Outline — view all jobs */
.btn--outline-large {
  background: transparent;
  color: var(--color-text-secondary);
  border-color: var(--color-border);
  font-size: 0.9375rem;
  padding: 0.875rem 2.75rem;
  border-radius: var(--radius-full);
  transition: all 220ms var(--ease-out);
  letter-spacing: 0.01em;
}
.btn--outline-large:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: var(--color-teal-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn--outline-large:active {
  transform: translateY(0);
}

/* Text link button (empty state) */
.btn-text-link {
  color: var(--color-teal);
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.btn-text-link:hover {
  color: var(--color-teal-hover);
}


/* ============================================================
   5. SITE HEADER / NAV
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--nav-height);
}

/* Logo */
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-icon {
  width: 20px;
  height: 20px;
  color: var(--color-coral);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.nav__logo:hover .nav__logo-icon {
  transform: scale(1.1);
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.025em;
  line-height: 1;
}
.nav__logo-text em {
  font-style: normal;
  color: var(--color-teal);
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-left: auto;
}
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 0.4375rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 180ms var(--ease-out);
  position: relative;
}
.nav__link:hover {
  color: var(--color-dark);
  background: var(--color-surface-2);
}
/* Account link subtle distinction */
.nav__link--account {
  color: var(--color-teal);
  font-weight: 600;
}
.nav__link--account:hover {
  background: var(--color-teal-light);
  color: var(--color-teal-hover);
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-left: auto;
  transition: background var(--transition);
}
.nav__toggle:hover {
  background: var(--color-surface-2);
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   6. HERO
============================================================ */
.hero {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  overflow: hidden;
}

/* Dot grid pattern fading left-to-right */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(27, 43, 60, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 100% at 80% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 50%, black 0%, transparent 70%);
}

/* Soft color glow */
.hero__bg-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 80% at 70% 40%, rgba(23, 122, 111, 0.065) 0%, transparent 60%),
    radial-gradient(ellipse 35% 50% at 25% 75%, rgba(201, 75, 56, 0.04) 0%, transparent 50%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 5.5rem);
  align-items: center;
}

/* Eyebrow label */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-teal);
  margin-bottom: 1.125rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-teal);
  border-radius: 2px;
}

/* Main headline */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.625rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
  font-optical-sizing: auto;
}
/* Playfair Display supports italic weights 400–900, not 300 */
.hero__headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-teal);
}

/* Subtext */
.hero__subtext {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 38ch;
}

/* CTA cards grid */
.hero__cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero__cta-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.hero__cta-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}

/* Employer card — dark inverted */
.hero__cta-card--employers {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}
.hero__cta-card--employers .hero__cta-icon { color: rgba(255,255,255,0.55); }
.hero__cta-card--employers h2 { color: #fff; }
/* Increased from 0.6 → 0.88 for readability */
.hero__cta-card--employers p { color: rgba(255,255,255,0.88); }
.hero__cta-card--employers:hover { border-color: transparent; }

/* Icon */
.hero__cta-icon {
  width: 40px;
  height: 40px;
  color: var(--color-teal);
  flex-shrink: 0;
}
.hero__cta-icon svg {
  width: 100%;
  height: 100%;
}

/* Card headline */
.hero__cta-card h2 {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Card body copy */
.hero__cta-card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  flex: 1;
}


/* ============================================================
   7. FILTER BAR
============================================================ */
.filter-bar {
  background: var(--color-teal-light);
  border-top: 1px solid var(--color-teal-border);
  border-bottom: 1px solid var(--color-teal-border);
  padding-block: 0.75rem;
  animation: slideDown 0.2s var(--ease-out) both;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.filter-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.filter-bar__icon {
  width: 14px;
  height: 14px;
  color: var(--color-teal);
  flex-shrink: 0;
}

.filter-bar__label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.filter-bar__location {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-teal);
}

.filter-bar__clear {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-left: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: rgba(23, 122, 111, 0.1);
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.filter-bar__clear:hover {
  background: rgba(23, 122, 111, 0.18);
  color: var(--color-dark);
}
.filter-bar__clear svg {
  width: 12px;
  height: 12px;
}


/* ============================================================
   8. PLATFORM INTRO — Anchored CTA card
============================================================ */
.platform-intro {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.platform-intro__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 2.75rem) clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
/* Left teal accent bar */
.platform-intro__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-teal);
  border-radius: 4px 0 0 4px;
}
.platform-intro__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}
.platform-intro__heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.875rem;
}
.platform-intro__body {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  max-width: 62ch;
}
.platform-intro__body strong {
  color: var(--color-dark);
  font-weight: 600;
}
.platform-intro__cta-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 170px;
}
/* Outline variant for secondary platform intro CTA */
.btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8125rem 1.625rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text-secondary);
  transition: all 220ms var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn--outline:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: var(--color-teal-light);
  transform: translateY(-1px);
}

/* ============================================================
   9. FEATURED JOBS — CARD GRID
============================================================ */
.featured-jobs {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem);
  /* Warm neutral — deeper than page cream, no color cast; white cards pop via shadow */
  background: #EDEBE5;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Individual job card */
.job-card {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 1.625rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* Stronger shadow — lifts clearly off the teal-tinted section bg */
  box-shadow:
    0 2px 8px rgba(27,43,60,0.08),
    0 6px 24px rgba(27,43,60,0.07);
  transition: all 280ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.job-card:hover {
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow:
    0 4px 16px rgba(27,43,60,0.10),
    0 12px 36px rgba(27,43,60,0.10);
}

/* Card body: title + hospital */
.job-card__body {
  flex: 1;
}
.job-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin-bottom: 0.375rem;
  font-optical-sizing: auto;
}
.job-card__hospital {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Card meta: location + date */
.job-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.job-card__location {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  padding: 0.3125rem 0.625rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-light);
  font-family: var(--font-body);
}
.job-card__location svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.job-card__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Card footer */
.job-card__footer {
  margin-top: auto;
}


/* ============================================================
   9. STANDARD JOBS — LIST VIEW
============================================================ */
.standard-jobs {
  padding-block: clamp(2rem, 4vw, 3rem) clamp(3.5rem, 7vw, 5.5rem);
  background: var(--color-bg);
}

.jobs-list {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.job-list-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.125rem 1.625rem;
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--transition);
  position: relative;
}
.job-list-item:last-child {
  border-bottom: none;
}
.job-list-item:hover {
  background: var(--color-bg);
}
.job-list-item:hover .job-list-item__cta {
  color: var(--color-teal-hover);
}

/* Title + company */
.job-list-item__main {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
  min-width: 0;
}
.job-list-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.job-list-item__company {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Location display */
.job-list-item__location {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  padding: 0.3125rem 0.625rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-light);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.job-list-item__location svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Date */
.job-list-item__date {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  width: 88px;
  text-align: right;
}

/* View Job CTA */
.job-list-item__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-teal);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 200ms var(--ease-out);
  width: 90px;
  text-align: right;
  text-decoration: none;
}
.job-list-item__cta:hover {
  color: var(--color-teal-hover);
  letter-spacing: 0.01em;
}


/* ============================================================
   10. EMPTY STATE
============================================================ */
.jobs-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--color-text-secondary);
}
.jobs-empty__icon {
  width: 40px;
  height: 40px;
  color: var(--color-border);
  margin-inline: auto;
  margin-bottom: 1rem;
}
.jobs-empty__icon svg {
  width: 100%;
  height: 100%;
}
.jobs-empty p {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}


/* ============================================================
   11. SITE FOOTER
============================================================ */
.site-footer {
  background: #0d5c54;
  color: rgba(255,255,255,0.9);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* Brand column */
.footer__brand .nav__logo-text {
  color: #fff;
}
.footer__brand .nav__logo-icon {
  color: #fff;
}
.footer__tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 30ch;
}

/* Footer nav columns */
.footer__nav-heading {
  font-size: 0.7125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.125rem;
}
.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer__nav ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  text-decoration: none;
}
.footer__nav ul a:hover {
  color: #fff;
}

/* Footer bottom bar */
.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.footer__bottom-sub {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}


/* ============================================================
   12. ANIMATIONS
============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__content {
  animation: fadeUp 0.65s var(--ease-out) 0.05s both;
}
.hero__cta-grid {
  animation: fadeUp 0.65s var(--ease-out) 0.15s both;
}

/* Staggered card reveals */
.job-card {
  animation: fadeUp 0.5s var(--ease-out) both;
}
.job-card:nth-child(1) { animation-delay: 0.05s; }
.job-card:nth-child(2) { animation-delay: 0.10s; }
.job-card:nth-child(3) { animation-delay: 0.15s; }
.job-card:nth-child(4) { animation-delay: 0.20s; }
.job-card:nth-child(5) { animation-delay: 0.25s; }
.job-card:nth-child(6) { animation-delay: 0.30s; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   13. RESPONSIVE — TABLET (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .job-list-item__date {
    display: none;
  }
}


/* ============================================================
   14. RESPONSIVE — MOBILE (≤ 768px)
============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem var(--container-pad) 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.125rem;
    z-index: 199;
    box-shadow: var(--shadow-md);
  }
  .nav__links.nav__links--open {
    display: flex;
  }
  .nav__link {
    padding: 0.5625rem 0.75rem;
    font-size: 0.9375rem;
  }
  .nav__toggle {
    display: flex;
  }
  .btn--nav {
    display: none;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero__cta-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
  .hero__subtext {
    max-width: none;
  }

  /* Section header */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Jobs grid */
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  /* Standard jobs list */
  .job-list-item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.625rem 1rem;
    padding: 1rem 1.25rem;
  }
  .job-list-item__main {
    grid-column: 1;
    grid-row: 1;
  }
  .job-list-item__location {
    grid-column: 1;
    grid-row: 2;
    width: fit-content;
    align-self: start;
  }
  .job-list-item__date {
    display: none;
  }
  .job-list-item__cta {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    width: auto;
    text-align: right;
  }

  /* Platform intro card — stack on tablet */
  .platform-intro__card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .platform-intro__cta-col {
    flex-direction: row;
    flex-wrap: wrap;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
}


/* ============================================================
   15. RESPONSIVE — SMALL MOBILE (≤ 480px)
============================================================ */
@media (max-width: 480px) {
  .hero__headline {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .job-list-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .job-list-item__cta {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
    width: auto;
    font-size: 0.8125rem;
  }

  .hero__cta-card {
    padding: 1.5rem 1.25rem;
  }
}


/* ============================================================
   16. HOMEPAGE — EMPLOYER CARD MANAGE LINK
============================================================ */
.hero__manage-link {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  padding: 0.25rem 0;
  transition: color var(--transition);
  text-decoration: none;
}
.hero__manage-link:hover {
  color: rgba(255,255,255,0.82);
}


/* ============================================================
   17. JOBS PAGE — HERO
============================================================ */
.jobs-hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

/* Dot-grid fading in from right — same pattern as homepage hero */
.jobs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(27, 43, 60, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 65% 100% at 100% 55%, black 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse 65% 100% at 100% 55%, black 0%, transparent 68%);
}

.jobs-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.jobs-hero__content {
  animation: fadeUp 0.6s var(--ease-out) 0.05s both;
}

.jobs-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.375rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  margin-bottom: 1.125rem;
  margin-top: 0.75rem;
  font-optical-sizing: auto;
}
.jobs-hero__headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-teal);
}

.jobs-hero__subtext {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 1.5rem;
}
.jobs-hero__subtext strong {
  color: var(--color-dark);
  font-weight: 600;
}

/* Specialty filter pills */
.jobs-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.jobs-hero__pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: all 180ms var(--ease-out);
}
.jobs-hero__pill:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: var(--color-teal-light);
}

/* Employer sidebar card */
.jobs-hero__side {
  animation: fadeUp 0.6s var(--ease-out) 0.15s both;
}
.jobs-hero__employer-card {
  background: var(--color-dark);
  border-radius: var(--radius-xl);
  padding: 2rem 1.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
}
.jobs-hero__employer-card .hero__cta-icon {
  color: rgba(255,255,255,0.4);
}
.jobs-hero__employer-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.jobs-hero__employer-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  flex: 1;
}
.jobs-hero__manage-link {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  padding: 0.25rem 0;
  transition: color var(--transition);
  text-decoration: none;
}
.jobs-hero__manage-link:hover {
  color: rgba(255,255,255,0.82);
}

/* Extra card animation delays for 9-card featured grid */
.job-card:nth-child(7) { animation-delay: 0.35s; }
.job-card:nth-child(8) { animation-delay: 0.40s; }
.job-card:nth-child(9) { animation-delay: 0.45s; }


/* ============================================================
   18. LOAD MORE BAR
============================================================ */
/* Hide standard job list items beyond the first 10 by default.
   Items are revealed via JS inline style override (display:grid).
   This ensures items are hidden BEFORE JS runs — no flash of all items. */
#standardList > .job-list-item:nth-child(n+11) {
  display: none;
}
.load-more-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 1.5rem 1rem;
  text-align: center;
}
.load-more-bar__count {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.load-more-bar__count strong {
  color: var(--color-text-secondary);
  font-weight: 600;
}
.load-more-bar--done .load-more-bar__count {
  color: var(--color-teal);
  font-weight: 600;
}

.btn--load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.8125rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-dark);
  cursor: pointer;
  transition: all 220ms var(--ease-out);
  text-decoration: none;
}
.btn--load-more:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: var(--color-teal-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn--load-more:active {
  transform: translateY(0);
}
.btn--load-more:disabled {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-muted);
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

/* Reveal animation for newly loaded jobs */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.job-newly-visible {
  animation: revealUp 0.35s var(--ease-out) both;
}


/* ============================================================
   19. CONTACT CTA BAND
============================================================ */
.contact-cta {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--color-bg);
}
.contact-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: var(--color-dark);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-lg);
}
.contact-cta__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.625rem;
  line-height: 1.25;
}
.contact-cta__copy p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-width: 52ch;
}
.contact-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 180px;
}
/* Outline button on dark contact CTA — white variant */
.contact-cta__actions .btn--outline {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.72);
}
.contact-cta__actions .btn--outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.07);
}


/* ============================================================
   20. RESPONSIVE ADDITIONS — JOBS PAGE
============================================================ */
@media (max-width: 1024px) {
  .jobs-hero__inner {
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .jobs-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .jobs-hero__side {
    order: -1;
  }
  .jobs-hero__employer-card {
    padding: 1.5rem 1.375rem;
  }
  .contact-cta__inner {
    flex-direction: column;
    gap: 2rem;
  }
  .contact-cta__actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
    width: 100%;
  }
  .contact-cta__actions .btn--primary,
  .contact-cta__actions .btn--outline {
    flex: 1 1 auto;
    min-width: 130px;
  }
  .jobs-hero__pills {
    gap: 0.375rem;
  }
}

@media (max-width: 480px) {
  .jobs-hero__headline {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
  }
  .jobs-hero__pill {
    font-size: 0.75rem;
    padding: 0.3125rem 0.6875rem;
  }
}


/* ==========================================================================
   21. AUTH PAGES — Login & Register (login.html, register.html)
   ========================================================================== */

.auth-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem 4rem;
  background: var(--color-bg);
}

.auth-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  padding: 2.75rem 2.5rem 2.25rem;
  width: 100%;
  max-width: 460px;
}

.auth-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  color: var(--color-dark);
  text-decoration: none;
}

.auth-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  margin-bottom: 0.375rem;
  line-height: 1.2;
}

.auth-card__subtitle {
  font-size: 0.9375rem;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.auth-card__error {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: #fff5f5;
  border: 1.5px solid #f5c2c7;
  color: #842029;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.auth-card__success {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #166534;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  text-align: center;
}

.form-input--error {
  border-color: #f5c2c7 !important;
  background-color: #fff5f5 !important;
}

/* Form rows + groups */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.125rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.01em;
}

.form-label .required {
  color: var(--color-coral);
  margin-left: 2px;
}

.form-input {
  width: 100%;
  padding: 0.6875rem 0.9375rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-dark);
  background: var(--color-surface);
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--color-muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(26, 117, 103, 0.12);
  background: #fff;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Select */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6e72' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  margin-bottom: 1.125rem;
}

.form-check__input {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.1875rem;
  accent-color: var(--color-teal);
  cursor: pointer;
}

.form-check__label {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.form-check__label a {
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Account type radio cards */
.account-type-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  display: block;
  margin-bottom: 0.625rem;
}

.account-type-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.account-type-option {
  position: relative;
}

.account-type-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.account-type-option__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-surface);
}

.account-type-option__label .icon {
  font-size: 1.375rem;
  line-height: 1;
}

.account-type-option input[type="radio"]:checked + .account-type-option__label {
  border-color: var(--color-teal);
  background: var(--color-teal-light);
  color: var(--color-teal);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  color: var(--color-muted);
  font-size: 0.8125rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

/* Submit button */
.auth-card__submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.375rem;
}

/* Forgot password / switch link */
.auth-card__forgot {
  display: block;
  text-align: right;
  font-size: 0.8125rem;
  color: var(--color-teal);
  text-decoration: none;
  margin-top: -0.5rem;
  margin-bottom: 0.875rem;
}

.auth-card__forgot:hover {
  text-decoration: underline;
}

.auth-card__alt {
  text-align: center;
  margin-top: 1.375rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.auth-card__alt a {
  color: var(--color-teal);
  font-weight: 600;
  text-decoration: none;
}

.auth-card__alt a:hover {
  text-decoration: underline;
}

/* Auth responsive */
@media (max-width: 480px) {
  .auth-card {
    padding: 2rem 1.25rem 1.75rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/* ==========================================================================
   22. DASHBOARD — Employer job management (dashboard.html)
   ========================================================================== */

.dashboard-section {
  padding: 3rem 0 5rem;
  min-height: calc(100vh - 72px);
}

/* Greeting header */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.dashboard-header__greeting {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.2;
}

.dashboard-header__greeting em {
  color: var(--color-teal);
  font-style: normal;
}

.dashboard-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Override the full-width default on .btn--secondary for dashboard context */
.dashboard-header__actions .btn {
  width: auto;
}
.btn--logout {
  padding: 0.4375rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-full);
  line-height: 1;
}

/* Posted jobs section */
.dashboard-jobs__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.dashboard-jobs__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}

/* Individual job management row */
.dash-job {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.375rem 1.5rem;
  transition: box-shadow 200ms var(--ease-out);
}

.dash-job:hover {
  box-shadow: var(--shadow-sm);
}

.dash-job--expired {
  background: #fafafa;
}

.dash-job__info {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.dash-job__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

/* Status badges */
.dash-job__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.1875rem 0.5625rem;
  border-radius: var(--radius-full);
}

.dash-job__badge--active {
  background: #e6f4f1;
  color: var(--color-teal);
}

.dash-job__badge--expired {
  background: #fde8e8;
  color: #c0392b;
}

.dash-job__badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* Dates row */
.dash-job__dates {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.dash-job__date {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.dash-job__date strong {
  color: var(--color-dark);
  font-weight: 600;
}

/* Actions column */
.dash-job__actions {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-self: center;
}

/* Small action buttons */
.btn--sm {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4375rem 0.875rem;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  line-height: 1;
}

.btn--sm-view {
  border-color: var(--color-teal);
  color: var(--color-teal);
}
.btn--sm-view:hover {
  background: var(--color-teal-light);
}

.btn--sm-edit {
  border-color: var(--color-border);
  color: var(--color-dark);
  background: var(--color-surface);
}
.btn--sm-edit:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: var(--color-teal-light);
}

.btn--sm-renew {
  border-color: var(--color-teal);
  color: var(--color-teal);
  background: var(--color-teal-light);
}
.btn--sm-renew:hover {
  background: var(--color-teal);
  color: #fff;
}
.btn--sm-renew:disabled,
.btn--sm-renew[aria-disabled="true"] {
  border-color: var(--color-border);
  color: var(--color-muted);
  background: var(--color-surface);
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn--sm-delete {
  border-color: #e74c3c;
  color: #e74c3c;
}
.btn--sm-delete:hover {
  background: #fde8e8;
}

/* Empty state */
.dashboard-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--color-muted);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-lg);
}

.dashboard-empty__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.dashboard-empty h3 {
  font-size: 1.125rem;
  color: var(--color-dark);
  margin-bottom: 0.375rem;
}

/* Dashboard responsive */
@media (max-width: 768px) {
  .dash-job {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.75rem;
  }
  .dash-job__actions {
    grid-column: 1;
    grid-row: 3;
    justify-content: flex-start;
  }
  .btn--sm {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .dashboard-section {
    padding: 2rem 0 4rem;
  }
}


/* ==========================================================================
   23. ACCOUNT PAGE — Profile editing (account.html)
   ========================================================================== */

.account-section {
  padding: 3rem 0 5rem;
  min-height: calc(100vh - 72px);
}

.account-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 150ms var(--ease-out);
}

.account-back:hover {
  color: var(--color-teal);
}

.account-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
}

.account-card__header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.account-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}

/* Avatar row */
.account-avatar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
}

.account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-teal-light);
  color: var(--color-teal);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-avatar-row__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 0.1875rem;
}

.account-avatar-row__role {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* Form sections */
.account-card__body {
  padding: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}

.form-section + .form-section {
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.form-section__heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

/* Footer actions */
.account-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

/* Keep action buttons inline — override full-width default on .btn--secondary */
.account-actions .btn {
  width: auto;
}

/* Account page responsive */
@media (max-width: 768px) {
  .account-card__header,
  .account-avatar-row,
  .account-card__body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .account-section {
    padding: 2rem 0 4rem;
  }
}


/* ==========================================================================
   24. CONTACT PAGE (contact.html)
   ========================================================================== */

.contact-hero {
  background: var(--color-dark);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture, same pattern as jobs-hero */
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.contact-hero__inner {
  position: relative;
  text-align: center;
}

.contact-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.contact-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.875rem;
}

.contact-hero__headline em {
  font-style: italic;
  color: var(--color-teal-light);
}

.contact-hero__subtext {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main contact section */
.contact-section {
  padding: 3.5rem 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

/* Form card */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
}

.contact-form-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

/* Textarea */
textarea.form-input {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.contact-form__submit {
  margin-top: 0.25rem;
}

/* Sidebar info card */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.contact-info-card__title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--color-border-light, #EAE7E0);
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-item__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--color-teal-light);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}

.contact-info-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.1875rem;
}

.contact-info-item__value {
  font-size: 0.9375rem;
  color: var(--color-dark);
  font-weight: 500;
}

.contact-info-item__value a {
  color: var(--color-teal);
  text-decoration: none;
}

.contact-info-item__value a:hover {
  text-decoration: underline;
}

/* FAQ nudge card */
.contact-faq-card {
  background: var(--color-teal-light);
  border: 1px solid var(--color-teal-border, rgba(23,122,111,0.25));
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.contact-faq-card p {
  font-size: 0.875rem;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.contact-faq-card p strong {
  color: var(--color-teal);
}

/* Contact page responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .contact-info-card,
  .contact-faq-card {
    flex: 1 1 260px;
  }
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }
  .contact-section {
    padding: 2.5rem 0 4rem;
  }
  .contact-hero {
    padding: 2.5rem 0 2.25rem;
  }
  .contact-sidebar {
    flex-direction: column;
  }
}

/* ============================================================
   14. STICKY FOOTER
   body is a flex column; footer is pushed to the bottom via
   margin-top: auto when page content is shorter than the viewport.
============================================================ */
body {
  display: flex;
  flex-direction: column;
}

.site-footer {
  margin-top: auto;
}


/* ============================================================
   15. JOB DETAIL — Single Job Page
   Two-column layout: main content + sticky sidebar.
   All colours and radii use the existing CSS custom properties.
============================================================ */

.job-detail {
  padding-block: 2.5rem clamp(3rem, 6vw, 5rem);
}

.job-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: 1.75rem;
  transition: color var(--transition);
}
.job-detail__back:hover { color: var(--color-teal); }

.job-detail__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.job-detail__header {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.25rem;
}

.job-detail__company-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.job-detail__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

.job-detail__company-info {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.job-detail__company {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.job-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.job-detail__location {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}
.job-detail__location svg { flex-shrink: 0; color: var(--color-teal); display: inline; }

.job-detail__header-cta .btn--primary {
  width: auto;
  padding: 0.8125rem 2rem;
}

.job-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25em 0.75em;
  border-radius: var(--radius-full);
}
.job-badge--featured {
  background: var(--color-coral-light);
  color: var(--color-coral);
}

.job-detail__content {
  display: flex;
  flex-direction: column;
}

.job-detail__section {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 1rem;
}

.job-detail__section-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border-light);
}

.job-detail__section-body { font-size: 0.9375rem; line-height: 1.75; color: var(--color-text); }
.job-detail__section-body p { margin-bottom: 1em; }
.job-detail__section-body p:last-child { margin-bottom: 0; }
.job-detail__section-body ul,
.job-detail__section-body ol { list-style: disc; padding-left: 1.375rem; margin-bottom: 1em; }
.job-detail__section-body li { margin-bottom: 0.375em; }
.job-detail__section-body a { color: var(--color-teal); text-decoration: underline; text-underline-offset: 2px; }
.job-detail__section-body a:hover { color: var(--color-teal-hover); }

.job-detail__apply-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  margin-top: 0.25rem;
}
.job-detail__apply-footer .btn--primary { width: auto; flex-shrink: 0; padding: 0.8125rem 2rem; }

.job-detail__back-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.job-detail__back-link:hover { color: var(--color-teal); }

.job-detail__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}

.job-detail__sidebar-cta { width: 100%; }

.job-detail__sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.job-detail__sidebar-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.job-detail__meta-list { display: flex; flex-direction: column; gap: 0.875rem; }
.job-detail__meta-item { display: flex; flex-direction: column; gap: 0.125rem; }
.job-detail__meta-item dt { font-size: 0.6875rem; font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.07em; }
.job-detail__meta-item dd { font-size: 0.9375rem; font-weight: 600; color: var(--color-dark); }

.job-detail__employer-name { font-size: 0.9375rem; font-weight: 600; color: var(--color-dark); margin-bottom: 0.75rem; }
.job-detail__employer-link { display: block; font-size: 0.875rem; font-weight: 600; color: var(--color-teal); text-decoration: none; margin-bottom: 0.5rem; word-break: break-all; transition: color var(--transition); }
.job-detail__employer-link:hover { color: var(--color-teal-hover); text-decoration: underline; }

@media (max-width: 900px) {
  .job-detail__layout { grid-template-columns: 1fr; }
  .job-detail__sidebar { position: static; order: -1; }
}

@media (max-width: 600px) {
  .job-detail__header,
  .job-detail__section { padding: 1.25rem; }
  .job-detail__apply-footer { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.25rem; }
  .job-detail__apply-footer .btn--primary { width: 100%; }
}

/* ============================================================
   FEATURED JOB CARD — premium highlight
============================================================ */
.job-card--featured {
  background: linear-gradient(135deg, var(--color-dark) 0%, #233a50 100%);
  border-color: rgba(23,122,111,0.45);
  box-shadow:
    0 2px 8px rgba(27,43,60,0.18),
    0 6px 24px rgba(27,43,60,0.15),
    0 0 0 1px rgba(23,122,111,0.2);
}
.job-card--featured:hover {
  border-color: var(--color-teal);
  box-shadow:
    0 4px 16px rgba(27,43,60,0.25),
    0 12px 36px rgba(27,43,60,0.2),
    0 0 0 1px var(--color-teal),
    0 0 24px rgba(23,122,111,0.15);
}
.job-card--featured .job-card__title { color: #fff; }
.job-card--featured .job-card__hospital { color: rgba(255,255,255,0.6); }
.job-card--featured .job-card__location {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}
.job-card--featured .job-card__date { color: rgba(255,255,255,0.4); }
.job-card--featured .btn--card {
  background: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
}
.job-card--featured .btn--card:hover {
  background: var(--color-teal-hover);
  border-color: var(--color-teal-hover);
  box-shadow: 0 4px 14px rgba(23,122,111,0.4);
}

/* Featured badge */
.job-card__featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-teal);
  background: rgba(23,122,111,0.18);
  border: 1px solid rgba(23,122,111,0.35);
  padding: 0.3125rem 0.625rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.25rem;
  width: fit-content;
}

/* Share / action buttons — no underline */
.btn, .btn--card { text-decoration: none; }

/* Share buttons - no underline */
.job-share-btn,
.job-share-btns a { text-decoration: none !important; }

/* ============================================================
   FEATURED CARDS — rich teal gradient (replaces dark navy)
============================================================ */
.job-card--featured {
  background: linear-gradient(145deg, #0c5a52 0%, #177a6f 55%, #1b9082 100%);
  border-color: rgba(255,255,255,0.1);
  box-shadow:
    0 4px 16px rgba(12,90,82,0.30),
    0 12px 40px rgba(12,90,82,0.22),
    0 0 0 1px rgba(255,255,255,0.06);
}
.job-card--featured:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 24px rgba(12,90,82,0.38),
    0 20px 52px rgba(12,90,82,0.28),
    0 0 0 1px rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
}
.job-card--featured .job-card__title  { color: #fff; }
.job-card--featured .job-card__hospital { color: rgba(255,255,255,0.68); }
.job-card--featured .job-card__location {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88);
}
.job-card--featured .job-card__date { color: rgba(255,255,255,0.45); }
.job-card--featured .btn--card {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.job-card--featured .btn--card:hover {
  background: rgba(255,255,255,0.26);
  border-color: rgba(255,255,255,0.5);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ============================================================
   STANDARD LIST — whole row clickable + ghost button CTA
============================================================ */
a.job-list-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.125rem 1.625rem;
  border-bottom: 1px solid var(--color-border-light);
  text-decoration: none;
  color: inherit;
  transition: background var(--transition);
  position: relative;
}
a.job-list-item:last-child { border-bottom: none; }
a.job-list-item:hover { background: var(--color-bg); }
a.job-list-item:hover .job-list-item__title { color: var(--color-teal); }

/* Ghost button */
.job-list-item__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 1rem;
  border: 1.5px solid var(--color-teal);
  border-radius: var(--radius-full);
  color: var(--color-teal);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  background: transparent;
  transition: all 200ms var(--ease-out);
  width: auto;
  text-align: center;
  letter-spacing: 0.01em;
}
a.job-list-item:hover .job-list-item__cta {
  background: var(--color-teal);
  color: #fff;
}

/* Fix: employers card text — same specificity as base h2/p rules above,
   must appear last in file to win the cascade */
.hero__cta-card--employers h2 { color: #fff; }
.hero__cta-card--employers p  { color: rgba(255,255,255,0.88); }

/* ============================================================
   JOBS ARCHIVE — ICON FIX + SECTION SPACING + TAXONOMY PAGE
============================================================ */

/* Fix: unsized SVG in employer card was defaulting to 300x150px */
.hero__employer-card-icon {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.hero__employer-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Extra breathing room between featured section and standard cards section */
.section--jobs-standard {
  margin-top: 2rem;
}

/* Position count label on taxonomy archive header */
.section-count {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  align-self: flex-end;
  padding-bottom: 0.25rem;
}

/* Back pill on taxonomy page */
.jobs-hero__pill--back {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* Extra top gap between featured section and standard list on archive page */
.section--jobs-gap {
  margin-top: 2.5rem;
}

/* ============================================================
   DASHBOARD — REVISED LAYOUT (cards + list-style job rows)
============================================================ */

/* Outer card wrapper */
.dash-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.dash-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-light);
}

.dash-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin: 0 0 0.2rem;
}

.dash-card__subtitle {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Profile summary strip */
.dash-profile__summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-profile__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.dash-profile__info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.dash-profile__info strong { font-size: 0.9375rem; color: var(--color-dark); }
.dash-profile__info span   { font-size: 0.8125rem; color: var(--color-text-secondary); }

/* Profile form placeholder */
.dash-profile__form {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-light);
}

.dash-profile__form-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem;
  background: var(--color-bg);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--color-text-secondary);
}
.dash-profile__form-placeholder svg { color: var(--color-teal); opacity: 0.6; }
.dash-profile__form-placeholder p   { margin: 0; font-size: 0.875rem; line-height: 1.6; }

/* ── Job row — mirrors job-list-item style ─────────────────── */
.dash-jobs-list { display: flex; flex-direction: column; gap: 0; }

.dash-job-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: background 160ms ease;
}
.dash-job-row:last-child { border-bottom: none; }
.dash-job-row:hover { background: var(--color-bg); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; border-radius: var(--radius-md); }
.dash-job-row--expired { opacity: 0.65; }

.dash-job-row__main {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
  min-width: 0;
}

.dash-job-row__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-job-row__company {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.1875rem 0.5rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.dash-badge--active  { background: #e6f4f1; color: var(--color-teal); }
.dash-badge--expired { background: #fde8e8; color: #c0392b; }

.dash-job-row__expiry {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
  white-space: nowrap;
}
.dash-job-row__expiry-label { font-size: 0.6875rem; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.dash-job-row__expiry strong { font-size: 0.8125rem; color: var(--color-dark); font-weight: 600; }
.dash-job-row__expiry--expired strong { color: #c0392b; }

.dash-job-row__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Ghost log-out button in header */
.btn--sm-ghost {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  color: var(--color-dark);
  background: var(--color-surface);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 180ms ease;
}
.btn--sm-ghost:hover { border-color: var(--color-teal); color: var(--color-teal); }
.btn--secondary.btn--sm-ghost:hover { background: var(--color-coral-hover); border-color: var(--color-coral-hover); color: #fff; }

@media (max-width: 700px) {
  .dash-job-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .dash-job-row__expiry { align-items: flex-start; }
  .dash-job-row__actions { flex-wrap: wrap; }
  .dash-card { padding: 1.25rem; }
}

/* ── Dashboard: profile form password field fixes ─────────────────────────── */

/* Hide the Cancel + Edit Password toggle buttons — password field is always editable */
.dash-profile__form .cancel-edit,
.dash-profile__form .edit-password {
  display: none !important;
}

/* Move the show-password eye icon inside the input field (right side) */
.dash-profile__form .acf-input-wrap {
  position: relative;
}
.dash-profile__form .fea-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1;
  pointer-events: auto;
}
.dash-profile__form .fea-password {
  padding-right: 2.75rem;
}

/* ── Dashboard: nudge eye icon left of Apple Password Manager key icon ─────── */
.dash-profile__form .fea-password-toggle {
  right: 44px;
}
.dash-profile__form .fea-password {
  padding-right: 4.5rem;
}

/* ── Dashboard: Republish button ──────────────────────────────────────────── */
.btn--sm-republish {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md, 6px);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  background: #b45309;
  color: #fff;
  border: none;
  transition: background 200ms;
}
.btn--sm-republish:hover {
  background: #92400e;
}
.btn--sm-republish:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Cathlab custom thank-you page ────────────────────────────────────────── */
.cathlab-thankyou {
  display: flex;
  justify-content: center;
  padding: 3rem 1.25rem;
}

.cathlab-thankyou__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  max-width: 560px;
  width: 100%;
  padding: 3rem 2.5rem;
  text-align: center;
}

.cathlab-thankyou__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-teal-light);
  color: var(--color-teal);
  margin-bottom: 1.5rem;
}

.cathlab-thankyou__check svg {
  width: 28px;
  height: 28px;
}

.cathlab-thankyou__heading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-dark);
  margin: 0 0 1.25rem;
}

.cathlab-thankyou__body {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.cathlab-thankyou__body a {
  color: var(--color-teal);
  text-decoration: none;
}

.cathlab-thankyou__body a:hover {
  text-decoration: underline;
}

.cathlab-thankyou__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.cathlab-thankyou__btn {
  min-width: 180px;
}

@media (max-width: 480px) {
  .cathlab-thankyou__card {
    padding: 2rem 1.25rem;
  }
  .cathlab-thankyou__btn {
    width: 100%;
  }
}

/* Hide the page title on the custom thank-you page */
body.woocommerce-order-received h1 { display: none; }

/* Fix Frontend Admin submit button hover — overrides high-specificity base rule */
.frontend-form .button.button-primary:not(.acf-repeater-add-row):hover {
  background: var(--color-teal-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(23, 122, 111, 0.3);
}

/* ── Post Job page header ─────────────────────────────────────────────────── */
.post-job-page {
  padding: 4rem 0 5rem;
}

.post-job-page__inner {
  max-width: 780px;
  margin: 0 auto;
}

.post-job-page__header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border-light);
}

.post-job-page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.post-job-page__lead {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
}

.post-job-page__lead strong {
  color: var(--color-dark);
  font-weight: 600;
}

.post-job-page__lead a {
  color: var(--color-teal);
  text-decoration: none;
}

.post-job-page__lead a:hover {
  text-decoration: underline;
}

/* ── ACF Frontend Admin — Register form overrides ─────────────────── */

/* Strip ACF default field chrome */
.acf-register-wrap .acf-field {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 1.125rem !important;
}

/* Labels */
.acf-register-wrap .acf-label {
  margin: 0 0 0.375rem !important;
  padding: 0 !important;
}
.acf-register-wrap .acf-label label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  font-family: var(--font-body);
  margin: 0 !important;
}
.acf-register-wrap .acf-label .acf-required {
  color: var(--color-coral);
}

/* Inputs */
.acf-register-wrap .acf-input {
  margin: 0 !important;
}
.acf-register-wrap .acf-input-wrap input[type=text],
.acf-register-wrap .acf-input-wrap input[type=email],
.acf-register-wrap .acf-input-wrap input[type=tel],
.acf-register-wrap .acf-input-wrap input[type=password],
.acf-register-wrap .acf-input-wrap input[type=number] {
  width: 100% !important;
  padding: 0.6875rem 0.875rem !important;
  border: 1.5px solid var(--color-border) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.9375rem !important;
  font-family: var(--font-body) !important;
  color: var(--color-dark) !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: border-color 150ms ease, box-shadow 150ms ease !important;
  height: auto !important;
  line-height: 1.5 !important;
}
.acf-register-wrap .acf-input-wrap input:focus {
  border-color: var(--color-teal) !important;
  box-shadow: 0 0 0 3px rgba(23,122,111,0.12) !important;
}

/* Side-by-side layout (phone + extension) */
.acf-register-wrap .acf-fields {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
}
.acf-register-wrap .acf-field:not([data-width]) {
  width: 100% !important;
}

/* Password strength — hide it */
.acf-register-wrap .pass-strength-result { display: none !important; }

/* Submit button */
.acf-register-wrap .fea-submit-button,
.acf-register-wrap .fea-submit-button.button,
.acf-register-wrap .fea-submit-button.button-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 0.8125rem 1.625rem !important;
  background: var(--color-teal) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  font-family: var(--font-body) !important;
  cursor: pointer !important;
  line-height: 1 !important;
  text-shadow: none !important;
  box-shadow: none !important;
  transition: all var(--transition) !important;
  margin-top: 0.375rem !important;
  height: auto !important;
}
.acf-register-wrap .fea-submit-button:hover {
  background: var(--color-teal-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(23,122,111,0.35) !important;
}

/* Remove submit field's default ACF styling */
.acf-register-wrap .acf-field[data-type=submit_button] {
  margin-bottom: 0 !important;
}
.acf-register-wrap .acf-field[data-type=submit_button] .acf-input {
  border: none !important;
  padding: 0 !important;
}

/* ── Contact page — two-card centered layout ──────────────────────── */
.contact-two-cards {
  display: flex;
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: flex-start;
}
.contact-info-card--standalone {
  flex: 0 0 260px;
}
.contact-two-cards .contact-form-card {
  flex: 1;
  min-width: 0;
}
@media (max-width: 760px) {
  .contact-two-cards {
    flex-direction: column;
  }
  .contact-info-card--standalone {
    flex: none;
    width: 100%;
  }
}

/* ── Contact page — single centered card ─────────────────────────── */
.contact-single-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  max-width: 720px;
  margin: 0 auto;
}
.contact-meta-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.contact-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}
.contact-meta-item a { color: var(--color-teal); text-decoration: none; }
.contact-meta-item a:hover { text-decoration: underline; }
.contact-meta-item svg { flex-shrink: 0; color: var(--color-teal); }
.contact-meta-sep { color: var(--color-border); font-size: 1.1rem; line-height: 1; }
.contact-feedback {
  display: none;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.contact-feedback--success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.contact-feedback--error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
@media (max-width: 600px) {
  .contact-single-card { padding: 1.5rem 1.25rem; }
  .contact-meta-sep { display: none; }
}
