/* GENERATED by tools/build-css.sh from tools/css-src/ – edit the sources, not this file. */

/* ---- 00-fonts.css ---- */
/* ==========================================================================
   Fonts – only the faces that actually load on the site (measured on all 32 pages)
   and the Font Awesome base. Paths are relative to css/site.css.
   Owner: Foundation. PATTERNS.md §6.
   ========================================================================== */

/* Font Awesome 4 – icons (menu button, back-to-top, sidebar chevrons, carousel arrows, carets) */
@font-face {
  font-family: FontAwesome;
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/fontawesome-webfont.woff2") format("woff2"),
       url("../fonts/fontawesome-webfont.woff") format("woff"),
       url("../fonts/fontawesome-webfont.ttf") format("truetype");
}

/* Prompt Light – h3 to h6 */
@font-face {
  font-family: Prompt;
  font-style: normal;
  font-weight: 300;
  src: local("Prompt Light"), local("Prompt-Light"),
       url("../fonts/prompt-v1-latin-ext_latin-300.woff2") format("woff2"),
       url("../fonts/prompt-v1-latin-ext_latin-300.woff") format("woff");
}

/* Open Sans 300/400/700 – the Explore Programs carousel only */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"),
       url("../fonts/open-sans-v13-latin_latin-ext-300.woff2") format("woff2"),
       url("../fonts/open-sans-v13-latin_latin-ext-300.woff") format("woff");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans"), local("OpenSans"),
       url("../fonts/open-sans-v13-latin_latin-ext-regular.woff2") format("woff2"),
       url("../fonts/open-sans-v13-latin_latin-ext-regular.woff") format("woff");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: local("Open Sans Bold"), local("OpenSans-Bold"),
       url("../fonts/open-sans-v13-latin_latin-ext-700.woff2") format("woff2"),
       url("../fonts/open-sans-v13-latin_latin-ext-700.woff") format("woff");
}

/* Montserrat – card titles, stats and spotlights ask for "Helvetica Neue", Montserrat, Arial:
   where Helvetica Neue is not installed (Windows) they render in this remote face. Keep it. */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  src: local("Montserrat Regular"), local("Montserrat-Regular"),
       url("https://dws.utah.org/font/Montserrat/Montserrat-Regular.ttf") format("TrueType");
}

/* Font Awesome base. Icon elements keep FA's own class names (fa, fa-caret-right …). */
.fa {
  display: inline-block;
  font-family: FontAwesome;
  font-size: inherit;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* Glyphs used in page markup. The menu, back-to-top and sidebar glyphs live in their components. */
.fa-caret-right::before {
  content: "\f0da";
}

.fa-angle-left::before {
  content: "\f104";
}

.fa-angle-right::before {
  content: "\f105";
}

/* ---- 10-base.css ---- */
/* ==========================================================================
   Base – element defaults, links, headline colours, print
   Values are the computed result of the old Bootstrap + theme + site.css cascade.
   Owner: Foundation. PATTERNS.md C7, C8.
   ========================================================================== */

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

html {
  font-size: 10px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: #dddddf;
  color: #555;
  font: 15px/22px "Helvetica Neue", Arial, sans-serif;
}

/* Headings: h1/h2 bold Helvetica Neue, h3–h6 Prompt Light */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 5px 0 10px;
  color: #555;
  text-shadow: none;
}

h1 {
  font: bold 40px/42px "Helvetica Neue", Arial, sans-serif;
}

h2 {
  font: bold 30px/34px "Helvetica Neue", Arial, sans-serif;
}

h3 {
  font: 300 20px/25px Prompt, sans-serif;
}

h4,
h5,
h6 {
  font: 300 18px/23px Prompt, sans-serif;
}

p {
  margin: 0 0 10px;
}

ul,
ol {
  margin: 0 0 10px;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-bottom: 0;
}

b,
strong {
  font-weight: 700;
}

hr {
  height: 0;
  box-sizing: content-box;
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #133566;
}

img {
  border: 0;
  vertical-align: middle;
}

figure {
  margin: 0;
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 700;
}

button,
input {
  margin: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
}

button {
  overflow: visible;
  outline: 0;
  text-transform: none;
  cursor: pointer;
}

/* Links. Order matters: live declares :visited last, so a visited link stays purple on hover.
   Components whose links keep one colour in every state list :hover/:focus/:visited themselves. */
a {
  outline: 0;
  color: #2552e6;
  text-decoration: none;
}

a:focus {
  color: #2197db;
  transition: color 0.33s, background-color 0.33s;
}

a:active {
  color: #2552e6;
}

a:hover {
  color: #328cdb;
  text-decoration: underline;
  transition: color 0.33s, background-color 0.33s;
}

a:visited {
  color: #362980;
}

/* Headline colours. Put the class on the heading, or on a section whose other text shares the colour
   (each class colours itself plus the heading levels listed – exactly the old scopes). */
.headline-blue,
.headline-blue h1,
.headline-blue h2 {
  color: #133566;
}

.headline-yellow,
.headline-yellow h1 {
  color: #fbbe2a;
}

.headline-white,
.headline-white h1,
.headline-white h2 {
  color: #fff;
}

/* Text colour blocks */
.text-white {
  color: #fff;
}

.text-black {
  color: #000;
}

@media print {
  *,
  *::before,
  *::after {
    color: #000 !important;
    text-shadow: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  img {
    max-width: 100% !important;
    break-inside: avoid;
  }

  h2,
  h3,
  p {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    break-after: avoid;
  }
}

/* ---- 20-layout.css ---- */
/* ==========================================================================
   Layout – page box, centred wrapper, two-column splits, card grids
   Replaces Bootstrap's container/row/col grid with the same geometry (PATTERNS.md §3).
   Owner: Foundation. Pages: all.
   ========================================================================== */

/* The white page box on the grey body (header + content; on most pages also the footer) */
.page {
  background-color: #fff;
}

/* Centred content column: 750 / 970 / 1170 px from 768 / 992 / 1200, 15px gutters.
   flow-root = the old clearfix: contains floats and keeps child margins inside. */
.wrap {
  display: flow-root;
  margin-inline: auto;
  padding-inline: 15px;
}

/* --------------------------------------------------------------------------
   Grids (.split, .card-grid) use Bootstrap's own arithmetic: the grid box is the old row
   (15px wider than the content on each side), tracks are Bootstrap's percentages of it, and each
   column takes its 15px gutters as margin – so a column's box is exactly the old column's content
   box, at exactly the same sub-pixel position. (calc()/fr tracks with a 30px gap give the same
   boxes in theory, but thirds and 7/12 round up to 1/64px differently from the old floats, which
   re-renders the text in those columns.) Columns: set only margin-top/-bottom on them, never the
   margin shorthand, or the gutter goes.
   -------------------------------------------------------------------------- */

/* Two columns side by side from 992px; stacked below (plain blocks: margins collapse as before) */
.split {
  display: flow-root;
  margin-inline: -15px;
}

.split > * {
  margin-inline: 15px;
}

/* A column that was nested in another column without a row: 15px extra indent on both sides */
.inset {
  padding-inline: 15px; /* matches live: column nested in a column (LIVE-SITE-BUGS #19) */
}

/* Card grids: floats at every width on live (one per line, then 2, then 3 or 4), so a grid at
   every width – floats never collapse margins with each other, grid items don't either. */
.card-grid {
  display: grid;
  grid-template-columns: 100%;
  margin-inline: -15px;
  align-items: start;
}

.card-grid > * {
  margin-inline: 15px;
}

/* Cards in plain md columns: stacked blocks below 992 (margins collapse between them), 3 across above */
.card-grid--stack {
  display: flow-root;
}

@media (min-width: 768px) {
  .wrap {
    width: 750px;
  }

  .card-grid {
    grid-template-columns: 50% 50%;
  }
}

@media (min-width: 992px) {
  .wrap {
    width: 970px;
  }

  .split {
    display: grid;
    grid-template-columns: 50% 50%;                  /* 6 / 6 */
    align-items: start;                              /* floats were top-aligned */
  }

  .split--1-2 {
    grid-template-columns: 33.33333333% 66.66666667%; /* 4 / 8 */
  }

  .split--1-3 {
    grid-template-columns: 25% 75%;                  /* 3 / 9 */
  }

  .split--7-5 {
    grid-template-columns: 58.33333333% 41.66666667%; /* 7 / 5 */
  }

  .inset {
    display: flow-root; /* the nested column was a float here */
  }

  .card-grid--3,
  .card-grid--stack {
    display: grid;
    grid-template-columns: repeat(3, 33.33333333%);
  }

  .card-grid--4 {
    grid-template-columns: repeat(4, 25%);
  }
}

@media (min-width: 1200px) {
  .wrap {
    width: 1170px;
  }
}

/* ---- 30-header.css ---- */
/* ==========================================================================
   Site header – Google Translate, top links, logo, menu button, main navigation
   Pages: the 28 pages built from template/header.html (the 4 flush-header pages add
   31-header-flush.css). Owner: Foundation. PATTERNS.md C2, C4 and Appendix A (geometry).
   ========================================================================== */

.site-header {
  margin-bottom: 20px;
}

/* Google Translate: Google fills #google_translate_element (empty where the loader is dead) */
.translate {
  float: right;
}

#google_translate_element {
  margin-left: 15px;
}

/* Top links: About | Partners | News & Events (inline items; the dividers are bordered empty items) */
.top-links {
  float: right;
  margin: 0;
  padding-left: 0;
}

.top-links li {
  display: inline;
  position: relative;
  padding-bottom: 15px;
  list-style: none;
}

li.top-links__divider {
  top: -1px;
  margin: 0 9px 0 5px;
  padding: 0;
  border-right: 1px solid #a8adb4;
  font-family: Tahoma;
  font-size: 8px;
}

.top-links a {
  font-size: 11px;
}

.top-links a,
.top-links a:focus,
.top-links a:active,
.top-links a:hover,
.top-links a:visited {
  color: #545963;
}

/* Masthead: the white bar with the logo and the navigation. It starts below the 25px top-links row.
   Not a BFC on purpose: where Google Translate renders (a taller float), live keeps this white bar at
   y 25 and only pushes the logo below the widget. The ::after contains the logo/button floats. */
.masthead {
  position: relative;
  margin-top: 25px;
  background-color: #fff;
}

.masthead::after {
  content: "";
  display: table;
  clear: both;
}

/* Full-width float around the (inline) logo link: it reserves the logo row, so the menu button
   floats below it and is pulled up by its negative top margin, exactly as before. */
.masthead__brand {
  float: left;
  width: 100%;
  padding-inline: 15px;
}

/* Menu button (below 992px). Its margins fold in the old fixed-width toggle container
   (LIVE-SITE-BUGS #6: it overhangs the header by 30px at 768–991). */
.menu-toggle {
  position: relative;
  z-index: 1000;
  float: right;
  padding: 2px 8px;
  border: 0;
  background-color: #144382;
  color: #fff;
}

.menu-toggle:hover {
  background-color: #b31b34;
}

.menu-toggle__icon {
  font-size: 28px;
}

/* ☰ while closed, ✕ while open – driven by aria-expanded, which js/site.js sets */
.menu-toggle__icon::before {
  content: "\f0c9";
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  content: "\f00d";
}

/* Main navigation. The <nav> spans the header; only the list takes the mouse (as live). */
.main-nav {
  position: relative;
  pointer-events: none;
}

.main-nav__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  pointer-events: auto;
}

.main-nav li {
  position: relative;
  transition: 1s ease-out; /* matches live: theme transition on the items (nothing on them changes) */
}

.main-nav a {
  display: block;
  position: relative;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  text-transform: uppercase;
}

.main-nav a,
.main-nav a:focus,
.main-nav a:active,
.main-nav a:visited {
  color: #5a6069;
}

.main-nav a:hover {
  text-decoration: none;
}

@media (max-width: 991px) {
  /* Collapsible panel under the logo; js/site.js animates it (Bootstrap collapse: 350ms, ease) */
  .main-nav {
    display: none;
    clear: both;
  }

  .main-nav.is-open,
  .main-nav.is-collapsing {
    display: block;
  }

  .main-nav.is-open {
    overflow-y: auto;
  }

  .main-nav.is-collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease, visibility 0.35s ease;
  }

  .main-nav a {
    padding: 9px 10px;
    border-bottom: 1px solid #dddddf;
    background-color: #fff;
  }

  .main-nav li:first-child > a {
    border-top: 1px solid #dddddf;
  }

  .main-nav li:last-child > a,
  .main-nav li:nth-last-child(2) > a {
    border-bottom: 0; /* matches live: the last two items have no rule under them */
  }

  .main-nav .is-active > a {
    background-color: #144382;
    color: #fff;
  }

  .main-nav li:hover > a {
    background-color: #dddddf;
    color: #144382;
  }
}

@media (max-width: 767px) {
  .menu-toggle {
    margin: -40px 7px 6px 0;
  }

  .main-nav {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); /* matches live: invisible on white */
  }
}

@media (max-width: 496px) {
  /* The button's 6px bottom margin now reaches 1px below the logo: the header grows by 1px */
  .menu-toggle {
    margin-top: -30px;
    padding: 1px 6px;
  }

  .menu-toggle__icon {
    font-size: 18px;
    line-height: 22px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .menu-toggle {
    margin: -40px -30px 0 0;
  }

  .main-nav__list {
    width: 750px; /* matches live: the open menu is 30px wider than the header and scrolls sideways (LIVE-SITE-BUGS #6) */
  }
}

@media (min-width: 992px) {
  .menu-toggle {
    display: none;
  }

  /* Links sit on the bottom edge of the masthead, right-aligned */
  .main-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-inline: 15px;
  }

  .main-nav__list {
    float: right;
    margin-right: -60px;
    padding-right: 15px; /* matches live: links end 30px past the content edge and the page is 15px wider still (LIVE-SITE-BUGS #6) */
  }

  .main-nav li {
    float: left;
  }

  .main-nav a {
    bottom: -2px;
    margin-bottom: 2px;
    padding: 9px 20px;
    background-color: rgba(255, 255, 255, 0.75);
  }

  .main-nav .is-active > a {
    margin-bottom: 0;
    border-bottom: 2px solid #144382;
    color: #144382;
  }

  .main-nav li:hover > a {
    margin-bottom: 0;
    border-bottom: 2px solid #144382;
    background-color: #fff;
    color: #144382;
  }
}

/* ---- 31-header-flush.css ---- */
/* ==========================================================================
   Flush site header – About, Apprenticeship Week, News, Partners
   On live these 4 pages had no <header>: logo, top links and menu sat in the first row of the
   content section (no Google Translate block, no active menu item). The rewrite uses a real
   <header> (template/header-flush.html) with every C2 class; only the gap below it differs.
   Owner: Pilot D. PATTERNS.md C3, §2.4.
   ========================================================================== */

.site-header--flush {
  margin-bottom: 0; /* matches live: no gap under the header on these 4 pages (it sat inside the content section) */
}

/* ---- 32-footer.css ---- */
/* ==========================================================================
   Site footer – DWS logo, office search, email and social links, copyright bar
   Pages: all 32 (other-resources adds a page-partial rule for its centred columns).
   Owner: Foundation. PATTERNS.md C5.
   ========================================================================== */

.site-footer {
  padding-top: 48px;
  background-color: #212022;
  color: #dddddf;
}

.site-footer h3,
.site-footer h4 {
  color: #dddddf; /* every footer element except links is #dddddf on live, headings included */
}

.site-footer a,
.site-footer a:focus,
.site-footer a:active,
.site-footer a:hover,
.site-footer a:visited {
  color: #fff;
}

/* Three columns from 992px, stacked below */
.site-footer__cols {
  display: flow-root;
  margin-inline: -15px; /* matches live: the columns ignore the page width and stick out 15px each side (LIVE-SITE-BUGS #5) */
}

.site-footer__col {
  padding-inline: 15px;
}

.site-footer__col--logo {
  padding-bottom: 40px;
}

.site-footer__logo {
  display: block;
  margin-bottom: 10px;
}

.site-footer__logo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.site-footer__email a,
.site-footer__email a:focus,
.site-footer__email a:active,
.site-footer__email a:hover,
.site-footer__email a:visited {
  color: #fbcc5a;
}

/* Office search: label, input and button are inline – keep the whitespace between them */
.office-search__input {
  height: 40px;
  margin-right: -5px;
  padding-left: 3px;
  border: 1px solid #fbcc5a;
  background-color: transparent;
  font-size: 16px;
  text-align: center;
}

/* Copyright bar: 54px tall; on narrow screens its text overflows the bar, and the dark .wrap
   behind the text is what shows below it */
.copyright {
  height: 54px;
  padding-top: 18px;
  background-color: #212022;
  font-size: 14px;
  font-weight: 200;
}

.copyright .wrap {
  background-color: #212022;
}

.copyright__text {
  margin: 0;
}

.copyright__links {
  float: right;
  margin: 0;
}

@media (min-width: 992px) {
  .site-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 33.33333333%); /* Bootstrap's thirds: 1fr rounds 1/64px differently and shifts the text */
    align-items: start;
  }

  .copyright__text {
    float: left;
    width: calc(50% - 15px);
  }

  .copyright__links {
    width: calc(50% - 15px);
  }
}

/* ---- 33-sidebar.css ---- */
/* ==========================================================================
   Sidebar layout and section navigation
   <div class="wrap layout-sidebar">
     <aside class="layout-sidebar__aside"><nav class="sidebar-nav" aria-label="Section">…</nav></aside>
     <main class="layout-sidebar__main">…</main>
   </div>
   Pages: the 24 pages with a section sidebar. Owner: Pilot A. PATTERNS.md §2.3, C14.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout. Below 992px it is just the .wrap: sidebar above the content.
   From 992px it is the old row: a 3/9 grid across the wrap's full border box (so the wrap's own
   15px padding goes), each column taking its 15px gutters as margin – Bootstrap's own arithmetic,
   as .split (PATTERNS.md §3.3).
   -------------------------------------------------------------------------- */

/* Each column's content sat in a full-width float (row > col-xs-12): a BFC that keeps the
   children's margins inside – flow-root does the same */
.layout-sidebar__aside,
.layout-sidebar__main {
  display: flow-root;
}

/* --------------------------------------------------------------------------
   Section navigation: a list of links; sections with a submenu have a toggle button instead
   of a link. js/site.js opens/closes the submenu named by aria-controls (Bootstrap collapse,
   350ms). The page's own trail is .is-current; the link to the page itself has aria-current.
   -------------------------------------------------------------------------- */

.sidebar-nav {
  margin-bottom: 20px;
}

.sidebar-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li {
  display: block;
  position: relative;
  background-color: #fff;
}

.sidebar-nav li.is-current {
  background-color: transparent;
}

/* Links and toggles look the same */
.sidebar-nav a,
.sidebar-nav__toggle {
  display: block;
  padding: 6px 20px 6px 10px;
  color: #1e3959;
  font-size: 15px;
}

/* The toggle is a <button> that renders exactly like the links (10-base.css already resets its
   margin, radius, colour and font to the parent's) */
.sidebar-nav__toggle {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  appearance: none;
}

/* Down-chevron; turned up while the submenu is open */
.sidebar-nav__toggle::after {
  content: "\f107";
  position: absolute;
  top: 7px;
  right: 10px;
  display: inline-block;
  color: #5a6069;
  font-family: FontAwesome;
  font-size: 14px;
  font-weight: 400;
  pointer-events: none;
  transform: rotate(-180deg) translate(0, 2px);
  transition: transform 0.33s;
}

.sidebar-nav__toggle[aria-expanded="false"]::after {
  transform: rotate(0deg) translate(0, 0);
}

/* Second and third level: indented */
.sidebar-nav__sub a,
.sidebar-nav__sub .sidebar-nav__toggle {
  padding-left: 20px;
}

.sidebar-nav__sub .sidebar-nav__sub a {
  padding-left: 30px;
}

/* States: grey while focused (Chrome focuses a clicked link or button), unchanged on hover and
   when visited; the colour change runs with the global link transition */
.sidebar-nav a:focus,
.sidebar-nav__toggle:focus {
  color: #5a6069;
}

.sidebar-nav a:hover,
.sidebar-nav__toggle:hover {
  color: #1e3959;
  text-decoration: none;
}

.sidebar-nav__toggle:focus,
.sidebar-nav__toggle:hover {
  transition: color 0.33s, background-color 0.33s;
}

/* The current page and the sections above it: bold, darker; blue while the pointer is anywhere
   inside that item (including its open submenu) */
.sidebar-nav .is-current > a,
.sidebar-nav .is-current > .sidebar-nav__toggle {
  color: #122137;
  font-weight: bold;
}

.sidebar-nav .is-current:hover > a,
.sidebar-nav .is-current:hover > .sidebar-nav__toggle {
  color: #144382;
}

/* Submenus: hidden unless open; while opening/closing js/site.js animates the height */
.sidebar-nav__sub {
  display: none;
}

.sidebar-nav__sub.is-open,
.sidebar-nav__sub.is-collapsing {
  display: block;
}

.sidebar-nav__sub.is-collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease, visibility 0.35s ease;
}

@media (max-width: 767px) {
  .sidebar-nav {
    margin-inline: -15px; /* matches live: full-bleed on phones */
  }
}

@media (min-width: 992px) {
  .layout-sidebar {
    display: grid;
    grid-template-columns: 25% 75%;                  /* 3 / 9 */
    align-items: start;                              /* floats were top-aligned */
    padding-inline: 0;                               /* the grid box is the old row */
  }

  .layout-sidebar > * {
    margin-inline: 15px;
  }
}

/* ---- 34-back-to-top.css ---- */
/* ==========================================================================
   Back-to-top button – created by js/site.js on every page
   Starts at opacity 0 (not display: none – the invisible box is part of the page).
   Owner: Foundation. PATTERNS.md C6.
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 14px;
  bottom: 11px;
  z-index: 999;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background-color: #555;
  color: #fff;
  font-size: 20px;
  line-height: 22px;
  appearance: none;
}

.back-to-top:hover {
  background-color: #144382;
  transition: 0.3s;
}

/* Font Awesome angle-up */
.back-to-top::after {
  content: "\f106";
  position: absolute;
  top: -2px;
  left: 8.5px;
  font-family: FontAwesome;
  text-align: center;
}

/* ---- 40-buttons.css ---- */
/* ==========================================================================
   Buttons and action rows
   <p class="actions"><a class="button button--primary" href="…">…</a></p>
   Owner: Foundation. Pages: 27 + the footer. PATTERNS.md C9.
   ========================================================================== */

/* A line of buttons under a text block (was .link-section) */
.actions {
  margin-block: 0;
  padding-block: 20px;
}

.button {
  display: inline-block;
  padding: 8px 16px;
  border: 0;
  border-radius: 0;
  background-color: #144382;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.53846;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  transition: 0.33s;
}

.button:focus,
.button:active,
.button:hover {
  color: #fff;
  text-decoration: none;
}

.button:active,
.button:hover {
  border-color: #2197db;
  background-color: #2197db;
}

/* Yellow call-to-action: black on yellow in every state (live forced it with !important) */
.button--primary,
.button--primary:focus,
.button--primary:active,
.button--primary:hover,
.button--primary:visited {
  background-color: #fbbe2a;
  color: #000;
}

/* Outlined (footer). Hover takes the blue .button:hover background and border. */
.button--outline {
  height: 40px;
  margin-top: -3px;
  border: 1px solid #fbcc5a;
  background-color: transparent;
  color: #fbcc5a;
}

/* ---- 41-figures.css ---- */
/* ==========================================================================
   Figures and video embeds
   <figure class="figure"><img …></figure>, <figure class="video"><iframe …></iframe></figure>
   Owner: Foundation (occupation-page video additions: 46-video.css). PATTERNS.md C10, C17.
   ========================================================================== */

/* A content image. The 10px bottom margin is the old section margin inside a grid row
   (it collapses with neighbouring margins exactly as before). */
.figure {
  margin-bottom: 10px;
}

.figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

.figure--center {
  text-align: center;
}

.figure--center img {
  margin-inline: auto;
}

/* A video. The iframe stays INLINE (baseline-aligned in a line box with the body font), so the
   block is a few px taller than the iframe – do not make it display: block. Keep the embed's own
   width/height attributes: the fixed widths are what overflow on phones (LIVE-SITE-BUGS #1). */
.video {
  margin-bottom: 10px;
}

/* An iframe that sat directly in a column (no section wrapper, so no bottom margin) */
.video--flush {
  margin-bottom: 0;
}

/* ---- 42-cards.css ---- */
/* ==========================================================================
   Cards – icon, title, text, button tiles inside a .card-grid (20-layout.css)
   <article class="card"><img class="card__icon" …><h2 class="card__title">…</h2><p>…</p>
   <p class="actions">…</p></article>
   Owner: Foundation. Pages: employers, future-apprentices, educators, about, … (PATTERNS.md C13)
   ========================================================================== */

/* A grid track equals the old outer column's content box; this padding is the inner column's */
.card {
  padding-inline: 15px;
  text-align: center;
}

.card__icon {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

/* Renders in Montserrat on Windows (no Helvetica Neue) – see 00-fonts.css */
.card__title {
  color: #122137;
  font: bold 20px/22px "Helvetica Neue", Montserrat, Arial, sans-serif;
}

/* Left-aligned cards: .card--left was .sub-left (program steps), .card--plain had no alignment
   class (program downloads). Both put the icon at the left. */
.card--left,
.card--plain {
  text-align: left;
}

.card--left .card__icon,
.card--plain .card__icon {
  margin-inline: 0;
}

/* ---- 43-callout.css ---- */
/* ==========================================================================
   Callout – white text on a blue box ("Need Direction or Advice?")
   <section class="callout"><h1 class="headline-white">…</h1><p class="actions">…</p></section>
   Owner: Foundation. Pages: employers, future-apprentices, educators. PATTERNS.md C12.
   ========================================================================== */

.callout {
  overflow: hidden; /* live clips here (and it keeps the heading's margins inside) */
  padding: 20px;
  background-color: #144382;
  color: #fff;
  text-align: center;
}

/* ---- 44-intro.css ---- */
/* ==========================================================================
   Page intro with a floated photo, info sections, boxed rules
   <section class="intro"><figure class="intro__figure"><img …></figure>
     <h1 class="intro__title headline-blue">…</h1><p>…</p></section>
   <section class="info"><h2 class="headline-blue">…</h2><p>…</p></section>
   Pages: the sidebar pages (intro on 20 of them), Partners. Owner: Pilot A. PATTERNS.md C15, C16.
   ========================================================================== */

/* The intro was a row that is also a section: flow-root = the row's clearfix (contains the photo
   float and the text's margins), 10px = the section margin. */
.intro {
  display: flow-root;
  margin-right: 30px; /* matches live: the row's -15px margins plus the section's width: 100% leave the intro 30px short of the column */
  margin-bottom: 10px;
}

/* Photo floated top right; the text wraps around it */
.intro__figure {
  float: right;
  padding-left: 20px;
}

.intro__figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Two <br> lines (2 × 22px) used to sit above the title: 44px + the h1's own 5px */
.intro__title {
  margin-top: 49px;
}

/* A heading and its text */
.info {
  margin-bottom: 10px;
}

/* A rule that sat alone in its own row/column (a float): its 20px margins were held inside that
   box, so they added to the neighbours' margins instead of collapsing with them. Top: 20px + the
   10px section margin above. (Bottom: the next element is a grid/flow-root block with no top
   margin, so the plain 20px is already exact.) */
.rule--boxed {
  margin-top: 30px;
}

/* ---- 45-carousel.css ---- */
/* ==========================================================================
   Carousel – rotating slides with prev/next arrows (the old Bootstrap 3 carousel look)
   <div class="carousel" aria-label="…" aria-roledescription="carousel" role="region">
     <div class="carousel__track" id="…">
       <article class="carousel__slide is-active" aria-label="1 of 3" aria-roledescription="slide">
         <div class="carousel__head">
           <figure class="carousel__logo"><img …></figure>
           <div class="carousel__summary"><h3>…</h3><p>…</p></div>
         </div>
         <p class="carousel__solution">…</p>
       </article>
       …
     </div>
     <div class="carousel__controls">
       <a class="carousel__control" href="#track-id" aria-label="Previous slide" aria-controls="track-id" role="button">
         <span class="fa fa-angle-left carousel__arrow" aria-hidden="true"></span>
       </a>
       … the same with "Next slide" / fa-angle-right
     </div>
   </div>
   js/site.js (section 7) moves the slides: 5 s auto-advance, 600 ms slide, pause on hover.
   Pages: /employers/explore-programs/ (Success Stories). Owner: Pilot B. PATTERNS.md C19.
   ========================================================================== */

/* Everything in the carousel is Open Sans, except the arrow icons */
.carousel {
  position: relative;
  margin-bottom: 20px;
  font-family: "Open Sans", sans-serif;
}

.carousel h3 {
  color: #000;
  font-family: "Open Sans", sans-serif;
}

/* The window the slides move through */
.carousel__track {
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Slides. Only the active one shows. To move, js/site.js puts the incoming slide beside it
   (is-next: right, is-prev: left), then adds is-left (next) or is-right (prev) to both, which
   slides them one width over in 600 ms; at the end the incoming slide becomes is-active.
   -------------------------------------------------------------------------- */

.carousel__slide {
  display: none;
  position: relative;
  transition: transform 0.6s ease-in-out;
  backface-visibility: hidden;
  perspective: 1000px;
}

.carousel__slide.is-active,
.carousel__slide.is-next,
.carousel__slide.is-prev {
  display: flow-root; /* the slide's two old grid rows kept their margins inside */
}

.carousel__slide.is-next,
.carousel__slide.is-prev {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.carousel__slide.is-active,
.carousel__slide.is-next.is-left,
.carousel__slide.is-prev.is-right {
  transform: translate3d(0, 0, 0);
}

.carousel__slide.is-next,
.carousel__slide.is-active.is-right {
  transform: translate3d(100%, 0, 0);
}

.carousel__slide.is-prev,
.carousel__slide.is-active.is-left {
  transform: translate3d(-100%, 0, 0);
}

/* --------------------------------------------------------------------------
   Slide content: logo floated right, name + challenge beside it (from 992px) or around it
   (below), then the solution. The white panels and black text were inline styles on live.
   The head is the old grid row (15px wider than the slide on each side): the logo column is
   25% of it, as before.
   -------------------------------------------------------------------------- */

.carousel__head {
  display: flow-root;
  margin-inline: -15px;
}

.carousel__logo {
  float: right;
  padding-inline: 15px;
}

.carousel__logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.carousel__summary {
  position: relative; /* matches live: below 992px this white panel covers the logo (it was painted above it) */
  margin-inline: 15px;
}

.carousel__summary,
.carousel__solution {
  background-color: #fff;
  color: #000;
}

/* --------------------------------------------------------------------------
   Prev/next arrows: black 60% boxes on the line under the slides. The links are inline, so the
   empty space left of each box (its 25% margin) is part of the link, as on live.
   -------------------------------------------------------------------------- */

.carousel__controls {
  padding-inline: 20px;
}

.carousel__control,
.carousel__control:focus {
  color: #fff;
}

.carousel__control {
  font-size: 30px;
}

.carousel__control:hover {
  color: #144382;
  text-decoration: none;
}

.carousel__arrow {
  position: relative;
  top: 50%;
  margin-top: -18px;
  margin-left: 25%;
  padding: 2px 13px;
  background-color: #000;
  opacity: 0.6;
}

.carousel__arrow:hover {
  opacity: 0.8;
}

@media (min-width: 992px) {
  .carousel__logo {
    width: 25%;
  }

  .carousel__summary {
    margin-right: calc(25% + 15px); /* beside the logo column, as the old 9/12 column */
  }
}

/* ---- 46-video.css ---- */
/* ==========================================================================
   "A Day in the Life" video on occupation pages
   <section class="day-in-life headline-blue"><h2>A Day in the Life</h2>
     <p class="video"><a id="IT-day-in-life"></a><iframe …></iframe></p></section>
   The iframe stays inline in its paragraph (.video, 41-figures.css). Its fixed 820px width overflows
   the column below 1200px (LIVE-SITE-BUGS #1) – kept.
   Pages: the occupation pages with a video. Owner: Pilot A. PATTERNS.md C17.
   ========================================================================== */

.day-in-life {
  margin-bottom: 10px; /* the old section margin */
}

/* ---- 90-utilities.css ---- */
/* ==========================================================================
   Utilities
   Owner: Foundation. PATTERNS.md C11, C27.
   ========================================================================== */

/* Text for screen readers only (e.g. "Toggle navigation" in the menu button) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Vertical padding blocks (were tb-padding-20 / tb-padding-40) */
.pad-20 {
  padding-block: 20px;
}

.pad-40 {
  padding-block: 40px;
}

/* ---- pages/page-404.css ---- */
/* ==========================================================================
   /404.html – page-only spacing
   Owner: Foundation.
   ========================================================================== */

.page-404 main.wrap {
  padding-top: 40px;
  padding-bottom: 60px;
}

/* Buttons wrap neatly on narrow viewports */
.page-404 .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 20px;
}

.page-404 .actions .button {
  flex: 0 0 auto;
}

/* ---- pages/page-about.css ---- */
/* ==========================================================================
   /about/index.html – page-only rules
   Owner: Pilot D.
   ========================================================================== */

/* "About Us" – text | photo */
.page-about .about-us {
  margin-bottom: 1px; /* matches live: an empty CMS column, 1px tall, sat under this section */
}

/* Contact lines that kept the black Arial they were pasted with (were inline styles) */
.page-about .contact__detail {
  color: #000;
  font-family: Arial;
}

/* FAQ and report cards (outside .wrap, as on live: LIVE-SITE-BUGS #9) */
.page-about .faqs {
  padding-top: 40px;
}

/* ---- pages/page-employers-explore-programs.css ---- */
/* ==========================================================================
   /employers/explore-programs/index.html – intro spacing, funding rows
   Owner: Pilot B. PATTERNS.md C18.
   ========================================================================== */

/* Intro: text | photo + the linked "five components" diagram */
.page-employers-explore-programs .programs-intro__components {
  padding-top: 20px; /* was a 20px spacer div */
}

/* Funding sources: logo | text rows (.split--1-3) */
.page-employers-explore-programs .funding-row--dead-bg {
  /* matches live: a background photo that never loads (LIVE-SITE-BUGS #39) – same URL as the
     old inline style, so the same request still 404s */
  background: url("../media-cldnry.s-nbcnews.com/image/upload/t_fit-1240w,f_auto,q_auto%EF%B9%95best/newscms/2019_33/2203981/171026-better-coffee-boost-se-329p.jpg") no-repeat center center / cover;
}

.page-employers-explore-programs .dws-funding {
  padding-top: 22px; /* was an empty <br> line above the paragraph */
}

/* ---- pages/page-employers.css ---- */
/* ==========================================================================
   /employers/index.html – page-only spacing (old spacer divs and padding classes)
   Owner: Foundation.
   ========================================================================== */

/* "What are Apprenticeships?" – photo | text */
.page-employers .what-are {
  margin-top: 1px; /* matches live: an empty CMS row, 1px tall, sat above this section */
}

.page-employers .what-are .figure {
  padding-bottom: 20px; /* was a 20px spacer div */
}

.page-employers .what-are__text {
  padding-block: 40px; /* was tb-padding-40 */
}

/* "Why Start an Apprenticeship Program?" – text | video */
.page-employers .why-start__text {
  padding-top: 60px; /* was a 60px spacer div */
}

.page-employers .why-start__video iframe {
  padding-top: 20px; /* on the iframe itself, as live: its box is 20px taller */
}

/* The eight resource cards */
.page-employers .resources {
  padding-top: 40px;
}

@media (max-width: 767px), (min-width: 992px) {
  .page-employers .what-are__text {
    padding-top: 80px; /* + a 40px spacer that live hides at 768–991 */
  }
}

/* ---- pages/page-home.css ---- */
/* ==========================================================================
   /index.html – hero, "Is an Apprenticeship Right for You?", stats, spotlights
   Owner: Pilot C. PATTERNS.md C21.
   ========================================================================== */

/* Hero: photo across the old row, text panel in the right 5/12 from 992px.
   <section class="hero"><div class="hero__panel text-white">h1, p, .actions</div></section> */
.page-home .hero {
  display: flow-root; /* the old row's clearfix: keeps the panel's 1px offset inside the photo */
  margin-inline: -15px; /* matches live: the photo spans the old row, 15px past the content on each side (LIVE-SITE-BUGS #45) */
  background-image: url("../images/apprenticeship_home_hero.jpg"); /* tiles, as live */
}

/* Two nested 15px column paddings at the sides; a 40px spacer plus 40px padding on top */
.page-home .hero__panel {
  padding: 80px 30px 40px;
}

.page-home .hero__incentives {
  margin-left: 20px;
}

/* Stats: icon | number and label (two grid columns from 768px), rows separated by <hr> */
.page-home .stat {
  display: flow-root; /* the old row's clearfix */
  margin: 0 15px 10px -15px; /* matches live: a .row given width: 100% – each stat sits 15px left of the column */
}

.page-home .stat__icon {
  display: block;
  max-width: calc(100% - 30px); /* the old icon column's content box */
  height: auto;
  margin-inline: 15px;
}

/* Renders in Montserrat on Windows (no Helvetica Neue) – see 00-fonts.css */
.page-home .stat__value {
  margin-inline: 15px;
  color: #122137;
  font: bold 40px/42px "Helvetica Neue", Montserrat, Arial, sans-serif;
}

.page-home .stat__label {
  margin-inline: 15px;
  margin-top: -8px;
  font: 14px/18px "Helvetica Neue", Arial, sans-serif;
}

.page-home .stats__more {
  margin-bottom: 10px;
}

/* Spotlights: label bar, then photo, name and text as floats (as live). The text sits beside the
   photo when the photo is taller than the name (1280, 768) and under it at the left edge when the
   name is taller (992, 375) – a grid can't do both, floats do. */
.page-home .spotlight {
  display: flow-root; /* the old row: contains the floats */
  margin-inline: -15px; /* the old row's box, 15px wider than the column on each side */
}

.page-home .spotlight__label {
  width: 248px;
  margin-bottom: 20px;
  padding-left: 18px;
  background-color: #015e60;
  color: #fff;
  font-family: Montserrat, Helvetica, "Arial Bold", sans-serif;
  font-size: 15px;
  text-transform: uppercase;
}

.page-home .spotlight__photo,
.page-home .spotlight__name,
.page-home .spotlight__text {
  float: left;
  padding-inline: 15px;
}

.page-home .spotlight__photo {
  width: 16.66666667%;
}

.page-home .spotlight__photo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-home .spotlight__name,
.page-home .spotlight__text {
  width: 83.33333333%;
}

/* Renders in Montserrat on Windows (no Helvetica Neue) – see 00-fonts.css */
.page-home .spotlight__name {
  color: #122137;
  font: bold 25px/27px "Helvetica Neue", Montserrat, Arial, sans-serif;
}

/* Spacer divs that live hides at 768–991 */
@media (max-width: 767px), (min-width: 992px) {
  .page-home .right-for-you__text {
    padding-top: 40px; /* "Is an Apprenticeship Right for You?" */
  }

  .page-home .spotlight + .spotlight {
    padding-top: 40px; /* between the two spotlights */
  }
}

@media (max-width: 991px) {
  .page-home .hero__panel {
    margin-top: 1px; /* matches live: an empty column, 1px tall, sat above the panel */
    background-color: rgba(0, 0, 0, 0.7); /* matches live: the dark overlay only paints below 992px (LIVE-SITE-BUGS #45) */
  }
}

@media (min-width: 768px) {
  .page-home .stat {
    display: grid;
    grid-template-columns: 25% 75%;
    align-items: start;
  }

  .page-home .stat__icon {
    grid-row: span 2;
  }

  .page-home .stat__value,
  .page-home .stat__label {
    grid-column: 2; /* grid margins don't collapse: 10px under the value + −8px over the label = the old 2px */
  }

  .page-home .spotlight__photo {
    width: 25%;
  }

  .page-home .spotlight__name,
  .page-home .spotlight__text {
    width: 75%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .page-home .hero__panel {
    padding-top: 40px; /* the 40px spacer is hidden at 768–991 */
  }
}

@media (min-width: 992px) {
  .page-home .hero {
    display: grid;
    grid-template-columns: 58.33333333% 41.66666667%; /* 7 / 5: the left 7/12 was an empty column */
  }

  .page-home .hero__panel {
    grid-column: 2;
  }
}
