body {
  background: black;
  color: white;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  color: red;
  text-align: center;
  justify-content: center;
  -webkit-text-stroke: 1px black;
}

h1, h2 {
  text-align: center;
  justify-content: center;
  padding: 10px;
  margin: 10px;
}

textarea {
  width: 500px;
  height: 200px;
}

img {
  border: 2px solid red;
  border-radius: 10px;
  justify-content: center;
  max-width: 100%;
}

.caption {
  font-style: italic;
  justify-content: center;
}

.tartan {
  background-image: url("images/tartan.jpg");
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
}

.sidebyside {
  display: flex;
  flex-direction: row;
  padding: 10px;
}

@media only screen and (max-width: 1500px) {
  .sidebyside {
    flex-direction: column;
  }
}

.item {
  padding: 10px;
  margin: 10px;
}

.nav {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.main {
  background-image: none;
  background: white;
  color: black;
  max-width: 96%;
  margin: 10px;
  padding: 10px;
  border: 2px solid red;
  border-radius: 10px;
  justify-content: center;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.max-w30 {
  max-width: 30vh;
}

.max-w40 {
  max-width: 40vh;
}

.max-h50 {
  max-height: 50vh;
}

.nav a {
  color: #7e0000;
}

.poster-main {
  max-width: 960px;
  padding: 18px;
}

.recruitment-poster {
  border: 4px solid #111;
  padding: 28px 32px;
  background: #f9f7f1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.poster-title {
  color: #111;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 6px;
  -webkit-text-stroke: 0;
}

.poster-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.45rem);
  margin: 0 0 24px;
}

.poster-photo {
  width: 100%;
  aspect-ratio: 8 / 6;
  border: 3px solid #111;
  border-radius: 0;
  background-image: url("images/smallonstreet.jpg");
  background-size: cover;
  background-position: center 31%;
  margin-bottom: 28px;
}

.poster-copy {
  text-align: center;
}

.poster-copy h2 {
  color: #111;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 4px;
}

.poster-role-line {
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  font-weight: bold;
  margin: 0 0 12px;
}

.poster-emphasis {
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

.poster-support,
.poster-checks,
.poster-closer {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  margin: 8px 0;
}

.poster-details {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 2px solid #111;
  margin-top: 28px;
  padding-top: 20px;
}

.detail-block {
  flex: 1;
}

.detail-block h3,
.detail-block p {
  margin: 0 0 8px;
}

.detail-link {
  text-align: right;
}

.detail-link a {
  color: #111;
}

@media only screen and (max-width: 800px) {
  .recruitment-poster {
    padding: 20px 16px;
  }

  .poster-details {
    flex-direction: column;
  }

  .detail-link {
    text-align: left;
  }
}

table, th, td {
  color: black;
  border-collapse: collapse;
  padding: 5px;
}

th {
  background-color: #000000;
  color: white;
}

tr:nth-child(even) {background-color: #c3c2c2;}

tr:hover {
  background-color: slategrey;
}

table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after { 
  content: " \25B4\25BE" 
}
