/* Axium Continuing Education */

/* Self-hosted fonts (SIL Open Font License, see /fonts) */
@font-face {
  font-family: 'Lato';
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/lato-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/lato-700.woff2) format('woff2');
}
@font-face {
  font-family: 'PT Sans';
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/pt-sans-400.woff2) format('woff2');
}
@font-face {
  font-family: 'PT Sans';
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/pt-sans-700.woff2) format('woff2');
}

:root {
  --blue: #006ea8;
  --navy: #01038c;
  --ink: #231f20;
  --line: #d1d3d4;
  --button: #e6e7e8;
  --lavender: #d8d6ed;
  --nav-hover: #333;
  --nav-mobile: #222;
  --container: 1100px;
  --font-body: 'PT Sans', sans-serif;
  --font-head: 'Lato', sans-serif;
  --fade: linear-gradient(90deg, #fff, var(--lavender) 28%, var(--lavender) 72%, #fff);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  color: #000;
  background: #fff;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

p { line-height: 28px; margin-bottom: 20px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; }

h1, .section-title {
  font-size: 36px;
  color: var(--ink);
  margin-bottom: 15px;
}
.subhead { font-size: 25px; margin-bottom: 10px; }

.container {
  width: min(var(--container), 100% - 32px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */

.site-header { background: var(--fade); }

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-inline: 75px 100px;
}

.brand {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 27px;
  color: #000;
}
.brand img { display: block; }
.brand-text { margin: 25px 32px 0; line-height: 27px; text-align: center; }

.brand-text strong,
.header-contact a {
  display: inline-block;
  color: var(--navy);
  font-weight: 700;
  line-height: 30px;
}
.brand-text strong { font-size: 26px; }

.header-contact {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 27px;
}
.header-contact a { font-size: 24px; }

/* ---------- Navigation ---------- */

.site-nav { background: rgba(0, 0, 0, .5); }

.home .hero { position: relative; }
.home .site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.nav-toggle { display: none; }

.nav-menu { display: flex; list-style: none; }

.nav-menu a {
  display: block;
  padding: 0 45px;
  line-height: 52px;
  font-size: 18px;
  color: #fff;
}
.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a[aria-current="page"] {
  background: var(--nav-hover);
  color: #fff;
}

/* ---------- Home banner ---------- */

.banner { position: relative; }
.banner img { display: block; width: 100%; max-width: none; }

.banner-caption {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  padding: 5px 10px;
  font-size: clamp(20px, 3.95vw, 53px);
  font-weight: 700;
  line-height: 1.17;
  text-align: center;
  color: #000;
  text-shadow: 0 0 6px rgba(255, 255, 255, .9), 0 0 18px rgba(255, 255, 255, .8);
}

/* ---------- Main content ---------- */

.content {
  background: url(/images/watermark.jpg) 50% 0 / 100% 100% no-repeat;
  border-block: 1px solid var(--line);
  padding: 50px 0;
}

/* Page body text; :where() keeps these easy to override */
:where(.prose) ul, :where(.prose) ol { margin: 20px 0; }
:where(.prose) li { margin: 5px 0 5px 20px; line-height: 20px; }

/* Home: heading on the left, text on the right */
.split {
  display: grid;
  grid-template-columns: 374px 1fr;
  column-gap: 46px;
}
.split-title {
  border-right: 1px solid var(--blue);
  padding: 124px 0;
  margin: 0;
  line-height: 52px;
}
.split-body { padding: 30px 0; }
.split-body p:last-child { margin-bottom: 0; }
.split + .split { margin-top: 50px; }

/* Three per row; a short last row is centered */
.service-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 25px 0 0;
  list-style: none;
}
.service-links li { flex: 0 0 calc((100% - 30px) / 3); display: flex; }
.service-links a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 10px;
  background: var(--button);
  color: var(--ink);
  line-height: 1.3;
  text-align: center;
}
.service-links a:hover { background: var(--blue); color: #fff; }

/* Clients page */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 1px 1px 0;
  list-style: none;
}
.client-grid li {
  margin: 0 -1px -1px 0;
  border: 1px solid #ccc;
  background: #fff;
  padding: 10px;
  text-align: center;
  line-height: 0;
}

/* Testimonials page */
.testimonial { margin-bottom: 48px; }
.testimonial:last-child { margin-bottom: 0; }
.testimonial figcaption { font-weight: 700; line-height: 28px; }

/* ---------- Company teaser (home) ---------- */

.company {
  background: url(/images/company-bg.jpg) center / cover no-repeat;
  padding: 78px 0;
}
.company-box {
  background: rgba(0, 0, 0, .7);
  color: #fff;
  text-align: center;
  padding: 40px 110px;
}
.company-box .section-title { color: #fff; margin-bottom: 10px; }
.company-box p { line-height: 30px; }

.button {
  display: block;
  width: 217px;
  margin: 0 auto;
  background: var(--blue);
  color: #fff;
  font-size: 21px;
  line-height: 40px;
  text-transform: uppercase;
}
.button:hover { background: var(--button); color: var(--ink); }

/* ---------- Client logo strip ---------- */

.logo-strip { padding: 50px 0; text-align: center; }
.logo-strip .section-title { margin-bottom: 20px; }
.logo-strip ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.logo-strip li { min-width: 0; }

/* ---------- Locations ---------- */

.locations {
  background: #fff var(--fade) 50% 0 / 1400px 100% no-repeat;
  border-block: 1px solid var(--line);
}
.locations-inner {
  width: min(653px, 100% - 32px);
  margin-inline: auto;
  padding: 50px 0;
  font-size: 18px;
  color: var(--ink);
  text-align: center;
}
.locations h3 {
  font-family: var(--font-body);
  font-size: 22px;
  margin: 30px 0 10px;
}
.locations a { color: var(--ink); }
.locations a:hover { color: var(--blue); }
.hq { line-height: 30px; margin-bottom: 40px; }
.sep { padding: 0 4px; }
.office { display: block; margin: 0 auto 20px; border: 5px solid var(--blue); }

.offices {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}
.offices address {
  font-style: normal;
  font-size: 16px;
  line-height: 28px;
  padding-top: 10px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 30px 0;
  text-align: center;
  color: var(--ink);
}
.site-footer p { margin: 0; line-height: normal; }

/* ---------- 404 ---------- */

.not-found { text-align: center; padding: 60px 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1140px) {
  .header-inner { padding-inline: 20px; }
  .nav-menu a { padding: 0 35px; }
  .split { grid-template-columns: 365px 1fr; }
  .company { padding: 25px 0; }
}

@media (max-width: 1020px) {
  .nav-menu a { padding: 0 18px; }
  .split { grid-template-columns: 1fr; }
  .split-title { border-right: 0; padding: 0; }
  .split-title br { display: none; }
  .split-body { padding: 10px 0; }
  .company-box { padding: 30px; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-strip ul { flex-wrap: wrap; justify-content: center; gap: 20px 40px; }
}

@media (max-width: 750px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    padding: 0 0 10px;
  }
  .brand { flex-direction: column; align-items: center; }
  .brand-text { margin: 0; }
  .header-contact { text-align: center; }

  .home .site-nav { position: static; }
  .site-nav { background: var(--nav-mobile); }
  .site-nav .container { width: 100%; }
  .js .nav-toggle {
    display: block;
    width: 100%;
    height: 40px;
    background: var(--nav-mobile);
    border: 0;
    color: #fff;
    font: inherit;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .js .nav-menu { display: none; }
  .js .nav-menu.is-open { display: block; }
  .nav-menu { flex-direction: column; }
  .nav-menu a { padding: 0 16px; line-height: 40px; font-size: 16px; }

  .service-links { gap: 10px; }
  .service-links li { flex-basis: 100%; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-strip ul { flex-direction: column; }
  .locations-inner { font-size: 15px; }
  .offices { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 500px) {
  h1, .section-title { font-size: 30px; }
  .split-title { line-height: 40px; }
  .brand-text strong { font-size: 22px; }
  .header-contact a { font-size: 20px; }
}
