:root {
  --al-brand-ink: #292962;
  --al-brand-text: #293a51;
  --al-brand-muted: #526379;
  --al-brand-teal: #0b7566;
  --al-brand-accent: #2cb49d;
  --al-brand-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

/* Navbar, hero, feature tiles and contact form adapted from the supplied ParaPhrase template. */
.course-entry {
  --template-teal: #33b89f;
  --template-ink: #292962;
  --template-slate: #293a51;
  --template-muted: #526379;
  --template-gutter: 12px;
  color: var(--template-muted);
  font: 14px / 25px var(--al-brand-font);
  background: #fff;
}

.course-entry .container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--template-gutter);
}

.course-entry .row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: calc(-1 * var(--template-gutter));
}

.course-entry .row > * {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  padding-inline: var(--template-gutter);
}

@media (min-width: 576px) {
  .course-entry .container { max-width: 540px; }
}

@media (min-width: 768px) {
  .course-entry .container { max-width: 720px; }
  .course-entry .row > .hero-column { width: 83.333333%; }
  .course-entry .row > .feature-column,
  .course-entry .row > .about-column { width: 50%; }
  .course-entry .row > .form-column { width: 58.333333%; }
}

@media (min-width: 992px) {
  .course-entry .container { max-width: 960px; }
  .course-entry .row > .hero-column { width: 66.666667%; }
  .course-entry .row > .feature-column { width: 33.333333%; }
}

@media (min-width: 1200px) {
  .course-entry .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .course-entry .container { max-width: 1320px; }
}

.course-entry .entry-visually-hidden,
.course-entry .entry-skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.course-entry .entry-skip:focus {
  position: absolute;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  background: #fff;
  color: var(--template-ink);
}

.course-entry .entry-masthead {
  --masthead-opacity: 86%;
  position: sticky;
  z-index: 20;
  top: 0;
  height: 0;
}

.course-entry .entry-masthead[data-at-top] { --masthead-opacity: 54%; }

.course-entry .navbar {
  position: relative;
  width: 100%;
  padding-top: 30px;
}

.course-entry .layer-header {
  position: relative;
  display: flex;
  width: 100%;
  padding: 11px 25px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 40px;
  background: rgb(255 255 255 / var(--masthead-opacity));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 75%), 5px 5px 12px rgb(31 0 80 / 6%);
  backdrop-filter: blur(14px) saturate(110%);
}

.course-entry .navbar-brand {
  display: flex;
  min-width: 150px;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  color: var(--template-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 25px;
  text-decoration: none;
  white-space: nowrap;
}

.course-entry .navbar-brand img {
  display: block;
  flex: none;
}

.course-entry .navbar-collapse {
  flex: 1;
}

.course-entry .navbar-nav {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 24px;
  list-style: none;
}

.course-entry .nav-link {
  display: block;
  padding: 8px 12px;
  color: var(--template-slate);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.course-entry .nav-link:hover { color: var(--al-brand-teal); }

.course-entry .header-btns {
  display: flex;
  min-width: 150px;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.course-entry .entry-mobile-menu { display: none; }

.course-entry .theme-btn {
  position: relative;
  display: flex;
  width: auto;
  max-width: max-content;
  min-height: 48px;
  padding: 10px 15px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  font: 600 14px / 25px var(--al-brand-font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.5s ease-out, color 0.5s ease-out;
}

.course-entry .btn-main {
  min-width: 100px;
  color: #112b2b;
  background: var(--template-teal);
  white-space: nowrap;
}

.course-entry .btn-main:hover {
  color: #fff;
  background: #1a7967;
}

.course-entry .btn-main:disabled {
  color: #fff;
  background: #436b65;
  cursor: wait;
}

.course-entry .btn-secondary {
  color: #fff;
  background: var(--template-ink);
}

.course-entry .btn-secondary:hover { background: #171389; }

.course-entry .header-btns > .btn-main { min-width: 128px; }

.course-entry .main-content-wrapper {
  position: relative;
  display: block;
  width: 100%;
  overflow: clip;
}

.course-entry .main-banner-container {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 650px;
  align-items: center;
  justify-content: center;
  background: url("/assets/entry-template/banner-bg.webp") center / cover no-repeat;
}

.course-entry .main-banner-container .container,
.course-entry .main-banner-container .row,
.course-entry .hero-column {
  height: 100%;
}

.course-entry .main-banner-container .row {
  align-items: center;
  justify-content: center;
}

.course-entry .main-banner-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  margin-top: 4rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.course-entry .banner-info-quote {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 55px;
  margin: 0 0 20px;
  padding: 5px;
  align-items: center;
  border-radius: 30px;
  background: rgb(255 255 255 / 40%);
  color: #086c8e;
}

.course-entry .banner-info-quote span {
  display: flex;
  flex: none;
  min-height: 38px;
  padding: 5px 15px;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background: #fff;
}

.course-entry .banner-info-quote strong {
  padding-right: 15px;
  margin-left: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.course-entry .main-banner-heading {
  width: 100%;
  margin: 0 0 25px;
  color: var(--template-ink);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  overflow-wrap: normal;
}

.course-entry .main-banner-heading > span {
  display: block;
  text-wrap: balance;
}

.course-entry .main-banner-heading .title-phrase { white-space: nowrap; }

.course-entry .main-banner-description {
  margin: 0 0 2rem;
  color: var(--template-muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 35px;
  text-align: center;
}

.course-entry .banner-btns {
  display: flex;
  width: 100%;
  justify-content: center;
}

.course-entry .banner-btns a { margin: 0 10px; }
.course-entry .banner-btns .btn-main { min-width: 105px; }
.course-entry .banner-btns .btn-secondary { min-width: 180px; }

.course-entry .section {
  position: relative;
  padding: 60px 0;
  scroll-margin-top: 120px;
}

.course-entry .features {
  z-index: 0;
  margin-top: 4rem;
}

.course-entry .background-img {
  position: absolute;
  z-index: -1;
  top: -15rem;
  left: -15rem;
  max-width: 100%;
  pointer-events: none;
}

.course-entry .background-img img {
  display: block;
  max-width: 100%;
  height: auto;
}

.course-entry .feature-row {
  justify-content: center;
  row-gap: 4rem;
}

.course-entry .features-card {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  min-height: 213px;
  padding: 4rem 20px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 29px 11px rgb(0 0 0 / 3%);
  text-align: center;
}

.course-entry .features-icon {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  width: 75px;
  height: 75px;
  padding: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transform: translate(-50%, -50%);
}

.course-entry .features-icon img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.course-entry .faster .features-icon {
  border: 2px solid #c2eae2;
  background: #e7f6f3;
}

.course-entry .posts .features-icon {
  border: 2px solid #c4eafc;
  background: #e7f7fe;
}

.course-entry .chat .features-icon {
  border: 2px solid #b6d4fe;
  background: #e2eeff;
}

.course-entry .features-content h3 {
  margin: 0 0 15px;
  color: var(--template-slate);
  font-size: 20px;
  line-height: 1.2;
}

.course-entry .feature-availability {
  margin-top: 15px;
  color: var(--al-brand-teal);
}

.course-entry .about-row {
  align-items: stretch;
  row-gap: 2.5rem;
}

.course-entry .howitworks-content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: center;
}

.course-entry .howitworks-content-wrapper h2 {
  margin: 0 0 10px;
  color: var(--template-ink);
  font-size: 34px;
  line-height: 1.2;
}

.course-entry .howitworks-content-wrapper > p { margin-bottom: 20px; }

.course-entry .howitworks-content-wrapper ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.course-entry .howitworks-content-wrapper li {
  display: flex;
  margin-bottom: 5px;
  align-items: baseline;
  gap: 9px;
}

.course-entry .howitworks-content-wrapper li img {
  position: relative;
  top: 3px;
  flex: none;
}

.course-entry .howitworks-image-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.course-entry .howitworks-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -60%);
}

.course-entry .howitworks-bg img {
  display: block;
  width: 92%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

.course-entry .content-image {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.course-entry--home .about { padding-bottom: 90px; }

.course-entry--login .main-content-wrapper {
  padding-top: 150px;
  background: url("/assets/entry-template/banner-bg.webp") center top / cover no-repeat;
}

.course-entry--login .contactus-form {
  min-height: calc(100svh - 150px);
  color: #fff;
  background: var(--template-slate);
}

.course-entry .contactus-form .row { justify-content: center; }

.course-entry .contactus-form-heading {
  margin-bottom: 10px;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
}

.course-entry .entry-account-help {
  margin-bottom: 40px;
  color: #d8e4f2;
  text-align: center;
}

.course-entry .cf-input-container {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

.course-entry .cf-input-container label {
  display: block;
  width: 100%;
  color: #fff;
}

.course-entry .cf-input-container input {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 6px 15px;
  border: 0;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  color: #fff;
  background: transparent;
  font-size: 16px;
  line-height: 25px;
}

.course-entry .contactus-form :focus-visible {
  outline-color: #a8f8e4;
}

.course-entry .cf-input-container input[aria-invalid="true"] {
  border-bottom-color: #ffc2c2;
}

.course-entry .cf-input-container input:focus {
  border-bottom: 3px solid #a8f8e4;
  outline: none;
}

.course-entry .contactus-form .notice {
  margin: 0 0 20px;
}

.course-entry .entry-password {
  position: relative;
}

.course-entry .entry-password input {
  padding-inline-end: 4.5rem;
}

.course-entry .entry-password-toggle {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  min-width: 3.5rem;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #c8f9ea;
  cursor: pointer;
  font-weight: 600;
}

.course-entry .entry-password-toggle:hover {
  background: #3b5366;
}

@media (max-width: 991px) {
  .course-entry .navbar {
    padding-top: 13px;
  }

  .course-entry .navbar-collapse { display: none; }
  .course-entry .header-btns { min-width: 0; }
  .course-entry .header-btns > .btn-main { min-width: 64px; }
  .course-entry .entry-mobile-menu { display: block; }

  .course-entry .navbar-toggler {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--template-teal);
    color: #112b2b;
    cursor: pointer;
    list-style: none;
  }

  .course-entry .navbar-toggler::-webkit-details-marker { display: none; }

  .course-entry .navbar-toggler span {
    width: 17px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 5px currentColor, 0 -5px currentColor;
  }

  .course-entry .entry-mobile-menu .navbar-nav {
    position: absolute;
    inset: calc(100% + 8px) 12px auto;
    padding: 8px;
    justify-content: space-evenly;
    gap: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgb(31 0 80 / 12%);
  }

  .course-entry .main-banner-heading { font-size: 36px; }
  .course-entry .banner-info-quote { font-size: 12px; }
  .course-entry .section { padding-block: 40px; }
  .course-entry .howitworks-content-wrapper h2 { font-size: 28px; line-height: 35px; }
}

@media (max-width: 767px) {
  .course-entry .navbar-brand { min-width: 0; font-size: 18px; }
  .course-entry .navbar-brand img { width: 34px; height: 34px; }

  .course-entry .banner-btns { flex-direction: column; }
  .course-entry .banner-btns a {
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px;
  }

  .course-entry--login .main-content-wrapper { padding-top: 118px; }
  .course-entry--login .contactus-form { min-height: calc(100svh - 118px); }
  .course-entry .entry-account-help { margin-bottom: 28px; }
  .course-entry .form-submit-block .theme-btn { width: 100%; max-width: 100%; }
}

@media (max-width: 359px) {
  .course-entry .layer-header { padding-inline: 16px; gap: 10px; }
  .course-entry .header-btns > .btn-main { min-width: 60px; padding-inline: 10px; }
  .course-entry .navbar-toggler { width: 44px; height: 44px; }
  .course-entry .main-banner-heading { font-size: 32px; }
  .course-entry .main-banner-description { line-height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .course-entry .theme-btn { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .course-entry .layer-header {
    background: #fff;
    backdrop-filter: none;
  }
}

@media (forced-colors: active) {
  .course-entry .layer-header {
    background: Canvas;
    outline: 1px solid CanvasText;
    backdrop-filter: none;
  }

  .course-entry .theme-btn,
  .course-entry .navbar-toggler,
  .course-entry .features-card { border: 1px solid ButtonText; }

  .course-entry .navbar-toggler span {
    color: ButtonText;
    forced-color-adjust: none;
  }

  .course-entry .cf-input-container input:focus {
    border-bottom-color: Highlight;
    outline: 2px solid Highlight;
  }
}
