@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  font-family: 'Noto Sans', Arial, sans-serif;
  font-size: 15px;
  color: #222222;
  line-height: 1.6;
}

#wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: none;
  background: #fff;
  overflow: hidden;
}

header {
  display: block;
  line-height: 0;
}

header img {
  display: block;
  width: 100%;
  height: auto;
}

article {
  padding: 28px 14.66% 24px;
}

article h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
  color: #00539f;
}

article h2 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #00539f;
}

article p {
  margin-bottom: 8px;
}

article ul {
  margin: 6px 0 14px 24px;
}

article ul li {
  margin-bottom: 4px;
}

.color {
  color: #00539f;
}

footer {
  padding: 16px 14.66% 4px;
  background: #fafafa;
  border-top: 1px solid #ddd;
  border-bottom: 14px solid #00539f;
  font-size: 13px;
  color: #555;
}

footer p {
  margin-bottom: 5px;
}

footer a {
  color: #00539f;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Bootstrap-compatible two-column grid — used by GPT when it detects side-by-side layout */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 16px -10px 0;
}

.col-sm-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 10px;
  box-sizing: border-box;
}

.col-sm-6 h2 {
  margin-top: 0;
}

@media (max-width: 640px) {
  .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.centered {
  text-align: center;
}

/* Company motto / tagline: centred + brand-coloured paragraph before the job title */
article p.centered.color {
  font-size: 22px;
  font-weight: 700;
}

/* Contact/callout box — rendered when PDF has a colored background block */
.contact-box p {
  margin-bottom: 6px;
}

/* Links inside inline-styled dark/coloured divs (e.g. contact box with background:#xxxxxx).
   Override the browser default blue so links inherit the surrounding text colour. */
article div[style*="background:"] a,
article div[style*="background-color:"] a {
  color: inherit;
  text-decoration: none;
}

article div[style*="background:"] a:hover,
article div[style*="background-color:"] a:hover {
  text-decoration: underline;
}

.content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
}

.content-image-logo {
  display: block;
  max-width: 200px;
  max-height: 80px;
  width: auto;
  height: auto;
  margin: 16px 0;
}

.cta-btn {
  display: inline-block;
  padding: 10px 28px;
  background: #00539f;
  color: #ffffff;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  margin: 16px 0;
}

.cta-btn:hover {
  opacity: 0.88;
}

@media (max-width: 600px) {
  article {
    padding: 20px 5% 16px;
  }

  footer {
    padding: 14px 5% 4px;
  }
}