/* Match the handwritten student invitation in My account. */
#index #main > .ziemax-home-invite {
  max-width: 1600px;
}
#index .ziemax-home-invite {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#index .ziemax-home-invite > strong,
#index .ziemax-home-invite__subtitle {
  white-space: nowrap;
}
#index .ziemax-home-invite > .btn {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

#index .ziemax-home-invite > strong,
#index .ziemax-home-invite__subtitle {
  font-family: 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
  font-weight: 700;
  line-height: 1.6;
  color: #633573;
}

#index .ziemax-home-invite > strong { font-size: 22px; }
#index .ziemax-home-invite__subtitle { font-size: 18px; }

@media (max-width: 1399px) {
  #index .ziemax-home-invite {
    flex-wrap: wrap;
  }
  #index .ziemax-home-invite > strong,
  #index .ziemax-home-invite__subtitle {
    white-space: normal;
  }
}

@media (max-width: 575px) {
  #index .ziemax-home-invite {
    flex-direction: column;
    row-gap: 8px;
  }
  #index .ziemax-home-invite > strong {
    font-size: 20px;
  }
  #index .ziemax-home-invite__subtitle {
    font-size: 16px;
  }
}


/* Shared brush highlight; keep the phrase together and wrap inside on mobile. */
.zx-invite-discount {
  display: inline-block;
  max-width: 100%;
  padding: .08em .48em .16em;
  white-space: normal;
  vertical-align: baseline;
  color: #fff;
  background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22640%22%20height%3D%2288%22%20viewBox%3D%220%200%20640%2088%22%20preserveAspectRatio%3D%22none%22%3E%0A%3Cdefs%3E%0A%3Cpath%20id%3D%22brush%22%20d%3D%22M13%2013%2052%209%2037%205%20148%208%20255%204%20368%207%20498%203%20481%207%20602%206%20625%2013%20611%2015%20636%2022%20624%2028%20638%2037%20629%2044%20640%2053%20624%2056%20635%2066%20619%2067%20628%2076%20582%2079%20597%2083%20468%2080%20355%2084%20241%2080%20127%2085%20145%2080%2032%2081%2013%2075%2029%2072%204%2066%2017%2060%202%2052%2012%2045%200%2036%2017%2031%205%2024%2023%2022Z%22%2F%3E%0A%3CclipPath%20id%3D%22edge%22%3E%3Cuse%20href%3D%22%23brush%22%2F%3E%3C%2FclipPath%3E%0A%3Cpattern%20id%3D%22grain%22%20width%3D%2214%22%20height%3D%2214%22%20patternUnits%3D%22userSpaceOnUse%22%20patternTransform%3D%22rotate%28-42%29%22%3E%0A%3Cpath%20d%3D%22M2%200V14%20M6%200V14%22%20stroke%3D%22%23ed4350%22%20stroke-opacity%3D%22.32%22%20stroke-width%3D%221.4%22%2F%3E%0A%3Cpath%20d%3D%22M11%200V14%22%20stroke%3D%22%23ab1227%22%20stroke-opacity%3D%22.24%22%20stroke-width%3D%22.8%22%2F%3E%0A%3C%2Fpattern%3E%0A%3C%2Fdefs%3E%0A%3Cuse%20href%3D%22%23brush%22%20fill%3D%22%23cb1730%22%2F%3E%0A%3Cpath%20d%3D%22M0%200H640V88H0Z%22%20fill%3D%22url%28%23grain%29%22%20clip-path%3D%22url%28%23edge%29%22%2F%3E%0A%3Cpath%20d%3D%22m14%207%2048%202m26%2075%2047-1m397-81%2055%201M4%2018l18%207m600%2051%2012%205%22%20fill%3D%22none%22%20stroke%3D%22%23cb1730%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

@media (forced-colors: active) {
  .zx-invite-discount {
    color: CanvasText;
    background: none;
    text-decoration: underline;
  }
}


/* Keep the student, course and school on one readable line. */
#index .ziemax-student-picker--inline {
  flex-wrap:nowrap;
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  white-space:nowrap;
  scrollbar-width:thin;
  scrollbar-color:#c7accf transparent;
}
#index .ziemax-student-picker--inline > * { flex-shrink:0; }
#index .ziemax-student-picker--inline .ziemax-chip { white-space:nowrap; }
#index .ziemax-student-picker__school { font-weight:600; color:#4a414f; }
#index .ziemax-student-picker__school > span { margin:0 6px 0 2px; color:#938499; }
