/* Styles for src/pages/work-with-us.njk.
   Moved out of the template; the wwu-<tag>-<n> classes replace former
   inline style attributes. Give them meaningful names when you next edit them. */

@layer site {
  .position-card:hover > div {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  }

  .position-card:hover > div > div:last-child {
    background-color: var(--color-secondary) !important;
  }

  /* Icons beside each job detail. Requirements (on-site, degree, clearance,
     citizenship) use the same colour as their bold text. */
  .position-meta__icon {
    flex-shrink: 0;
    stroke: var(--color-primary);
  }

  .position-meta__icon--warn {
    stroke: var(--color-link);
  }

  @media (max-width: 768px) {
    .opportunities-intro-section .wwu-h1-1 {
      font-size: 32px !important;
    }

    .page-header h1 {
      font-size: 40px !important;
    }

    .page-header p {
      font-size: 16px !important;
    }

    .open-positions-section h2,
    .benefits-section h2 {
      font-size: 28px !important;
    }

    .position-meta {
      flex-direction: column !important;
      gap: 10px !important;
    }
  }
}

/* Former inline styles: unlayered so they keep priority over the site
   stylesheets, as inline styles did. */
.wwu-section-1 {
  padding: 80px 0;
  background-color: var(--color-white);
}

.wwu-div-1 {
  max-width: 900px;
}

.wwu-h2-1 {
  color: var(--color-subheading);
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
}

.wwu-h1-1 {
  color: var(--color-heading);
  margin-bottom: 30px;
  font-size: 50px;
  font-weight: 700;
  text-transform: uppercase;
}

.wwu-p-1 {
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.8;
}

.wwu-section-2 {
  padding: 80px 0;
  background-color: var(--color-bg-light);
}

.wwu-div-2 {
  max-width: 1200px;
  margin: 0 auto;
}

.wwu-h2-2 {
  color: var(--color-heading);
  margin-bottom: 40px;
  font-size: 36px;
  font-weight: 700;
}

.wwu-div-3 {
  display: grid;
  gap: 30px;
}

.wwu-a-1 {
  text-decoration: none;
  color: inherit;
}

.wwu-div-4 {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--color-primary);
  position: relative;
  overflow: hidden;
}

.wwu-div-5 {
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  border-radius: 0 12px 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.wwu-svg-1 {
  filter: drop-shadow(0 0 0 white);
}

.wwu-h3-1 {
  color: var(--color-heading);
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 700;
}

.wwu-div-6 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.wwu-div-7 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wwu-span-1 {
  color: var(--color-text);
}

.wwu-span-2 {
  font-weight: 700;
  color: var(--color-link);
}

.wwu-div-8 {
  margin-bottom: 20px;
  padding: 15px;
  background-color: var(--color-bg-light);
  border-radius: 8px;
}

.wwu-strong-1 {
  color: var(--color-heading);
}

.wwu-span-3 {
  color: var(--color-text);
  margin-left: 10px;
}

.wwu-div-9 {
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.wwu-div-10 {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--color-primary);
  color: var(--color-on-bright);
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.wwu-div-11 {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 12px;
}

.wwu-h3-2 {
  color: var(--color-text);
  margin-bottom: 20px;
  font-size: 24px;
}

.wwu-p-2 {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.wwu-section-3 {
  padding: 80px 0;
  background: var(--color-dark-magenta);
}

.wwu-h2-3 {
  color: var(--color-heading);
  margin-bottom: 50px;
  font-size: 48px;
  font-weight: 900;
  text-align: center;
}

.wwu-div-12 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px;
}

.wwu-div-13 {
  text-align: center;
  padding: 30px;
}

.wwu-div-14 {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wwu-h3-3 {
  color: var(--color-heading);
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
}

.wwu-p-3 {
  color: var(--color-white);
  line-height: 1.6;
}

.position-meta__text {
  color: var(--color-text);
}

.position-meta__text--warn {
  font-weight: 700;
  color: var(--color-link);
}

/* Was the page's second h1: keep the h1 line height */
.wwu-h1-1 {
  line-height: 1;
}

/* Caribbean Green headings on the Dark Magenta "Why Join" band, as on main */
.wwu-h2-3,
.wwu-h3-3 {
  color: var(--color-carribean-green);
}
