/* Basic resets & typography */
body {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  background-color: #f4f6f8;
  color: #333;
}

a {
  color: #003366;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Intro section */
.careers-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;

}

.careers-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.careers-intro h1 {
  color: #003366;
  margin-bottom: 0.75rem;
}

.careers-intro p {
  font-size: 1.05em;
  line-height: 1.5;
  margin: 0.5em 0;
}

/* Job list section */
.jobs-section {
  /* optionally give a light background */
}

.job-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.job-card {
  background-color: #fff;
  border: 1px solid #dee2e6;
  padding: 1.5rem;
  border-left: 5px solid #ffd700; /* highlight bar */
  border-radius: 4px;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.job-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.job-title {
  font-size: 1.25em;
  font-weight: 600;
  color: #003366;
}

.job-summary {
  margin-top: 0.5rem;
  font-size: 1.05rem;
  color: #555;
    text-indent: 2em;
}

/* Modal styles */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 6px;
  width: 90%;
  max-width: 800px;
  position: relative;

}

.modal-content h2 {
  margin-top: 0;
  color: #003366;
}

.modal-content #modalBody {
  margin-top: 1rem;
  line-height: 1.6;
  color: #333;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.6em;
  color: #999;
  cursor: pointer;
}

.modal-close:hover {
  color: #333;
}

p {
  line-height: 1.4;

}

#modalBody ul {
  list-style-type: disc;
  padding-right: 2rem;   /* Adds a "tab" feel */
  margin-bottom: 1rem;

}

#modalBody li {
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: #333;
}

#modalBody full {
	text-indent: 0em;
}

#modalBody p normal{
  text-indent: 5em;        /* Creates a paragraph-style tab indent */
  margin-left: 1rem;       /* Adds left margin */
  margin-right: 1rem;      /* Adds right margin */
  margin-bottom: 1rem;     /* Space between paragraphs */
  line-height: 1.6;        /* Improves readability */
  color: #333;
}

#modalBody p strong {
  font-size: 1em;
  margin-top: 0.0rem;
  margin-bottom: 0.0rem;
  color: #111;
}