/*
 * Styling for the two blocks added during the amendments: the related-pages
 * lists and the footer areas column. Colours are the theme's own, #192342 navy
 * and #3aa3d7 blue, so the additions do not read as bolted on.
 */
.pgs-related {
  padding: 40px 0 56px;
}
.pgs-related-title {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 18px;
  color: #192342;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.pgs-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.pgs-related-list li { margin: 0; }
.pgs-related-list a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid rgba(25, 35, 66, 0.22);
  border-radius: 999px;
  color: #192342;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.pgs-related-list a:hover,
.pgs-related-list a:focus {
  background: #3aa3d7;
  border-color: #3aa3d7;
  color: #fff;
}

/* Footer areas column, matching .footer-menu which is white, uppercase, right aligned. */
.footer-areas {
  text-align: right;
  margin-top: 18px;
}
.footer-areas-title {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.footer-areas a {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
  margin-left: 14px;
  display: inline-block;
  line-height: 1.9;
}
.footer-areas a:hover { color: #3aa3d7; }

@media (max-width: 660px) {
  .footer-areas, .footer-areas-title { text-align: left; }
  .footer-areas a { margin: 0 14px 0 0; }
  .pgs-related { padding: 28px 0 36px; }
}

/*
 * The block is appended at the end of the content area, which on some pages
 * follows a full width coloured panel. Painting its own background keeps it
 * legible wherever it lands, and the list resets undo the theme's arrow
 * markers, which it applies to list items site wide.
 */
.pgs-related {
  background: #fff;
  position: relative;
  z-index: 1;
}
.pgs-related-list li::before,
.pgs-related-list li::marker {
  content: none !important;
  display: none !important;
}
.pgs-related-list li {
  background: none !important;
  padding-left: 0 !important;
  list-style: none !important;
}
