/* Original full-width Hmskills homepage; no template or animation library. */
.hmskills-site .container {
  max-width: none;
  width: 100%;
  padding-left: clamp(20px, 4vw, 80px);
  padding-right: clamp(20px, 4vw, 80px)
}

.hm-wide {
  width: 100%;
  padding: 0 clamp(20px, 5vw, 100px)
}

.hm-home {
  background: #fff
}

.hm-home [hidden] {
  display: none !important
}

.hm-stage {
  position: relative;
  background: #0b1832;
  color: white;
  overflow: hidden;
  padding: 76px 0 25px;
  background-image: radial-gradient(ellipse at 85% 15%, #194174 0, transparent 55%), radial-gradient(ellipse at 8% 100%, #172e56 0, transparent 50%)
}

.hm-stage:before {
  content: '';
  position: absolute;
  width: 750px;
  height: 750px;
  right: -350px;
  top: -370px;
  border: 1px solid #ffffff14;
  border-radius: 50%;
  box-shadow: 0 0 0 85px #ffffff03, 0 0 0 170px #ffffff03;
  pointer-events: none
}

.hm-stage-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 6vw
}

.hm-kicker {
  display: block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 2px;
  color: #b3c5df;
  margin-bottom: 25px
}

.hm-status-dot,
.hm-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #67dbb0;
  border-radius: 50%;
  margin-right: 8px
}

.hm-stage h1 {
  font-size: clamp(42px, 5.1vw, 84px);
  line-height: 1.05;
  letter-spacing: -3px;
  margin: 0 0 27px;
  font-weight: 650
}

.hm-stage h1 em {
  display: block;
  font-style: normal;
  color: #85baff
}

.hm-stage-copy>p {
  color: #b5c4da;
  font-size: 16px;
  max-width: 550px;
  line-height: 1.85;
  margin-bottom: 30px
}

.hm-stage .hm-button-primary {
  background: #377bfa;
  border-radius: 5px;
  padding: 14px 24px
}

.hm-stage-secondary {
  color: #fff !important;
  border-color: #ffffff40;
  border-radius: 5px;
  background: transparent
}

.hm-stage-secondary:hover {
  background: #ffffff12
}

.hm-stage-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 39px 0 0;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #95a8c7
}

.hm-stage-foot span+span {
  border-left: 1px solid #ffffff30;
  padding-left: 25px
}

.hm-showcase {
  position: relative;
  min-width: 0;
  padding: 15px 0
}

.hm-showcase-top {
  font-size: 9px;
  letter-spacing: 2px;
  color: #afc1dc;
  display: flex;
  align-items: center;
  margin-bottom: 25px
}

.hm-showcase-top>span:last-child {
  margin-left: auto;
  font-size: 18px;
  letter-spacing: 4px;
  color: #fff
}

.hm-spotlight {
  border: 1px solid #ffffff24;
  border-radius: 9px;
  padding: 20px 24px;
  background: #ffffff08;
  backdrop-filter: blur(8px)
}

.hm-spotlight-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px
}

.hm-spotlight-heading>span {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #a2b9d9
}

.hm-spotlight-tabs {
  display: flex;
  gap: 5px
}

.hm-spotlight-tabs button {
  color: #a4b8d6;
  background: transparent;
  border: 1px solid #ffffff24;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 9px;
  cursor: pointer
}

.hm-spotlight-tabs button[aria-selected=true] {
  color: #fff;
  background: #377bfa;
  border-color: #377bfa
}

.hm-spotlight [role=tabpanel]>a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  line-height: 1.4
}

.hm-spotlight [role=tabpanel]>p {
  font-size: 12px;
  color: #a9bfde;
  margin: 9px 0 0
}

.hm-spotlight p>span {
  margin: 0 8px
}

.hm-scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  font-size: 9px;
  letter-spacing: 2px;
  color: #a4b8d5 !important;
  text-decoration: none !important
}

.hm-scroll-cue span {
  font-size: 20px
}

.hm-proof-strip {
  background: #f0f5fc;
  border-bottom: 1px solid #e0e8f4
}

.hm-proof-strip>.hm-wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 28px;
  padding-bottom: 28px
}

.hm-proof-strip .hm-wide>div,
.hm-proof-strip .hm-wide>a {
  padding: 0 30px;
  border-right: 1px solid #d7e2f0;
  text-decoration: none
}

.hm-proof-strip .hm-wide>:first-child {
  padding-left: 0
}

.hm-proof-strip .hm-wide>:last-child {
  border: 0
}

.hm-proof-strip strong {
  display: block;
  color: #183969;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -.5px
}

.hm-proof-strip span {
  display: block;
  color: #6d809c;
  font-size: 11px
}

.hm-proof-strip strong>span {
  display: inline;
  font-size: 20px;
  color: #377bfa
}

.hm-home-section {
  padding: 90px 0
}

.hm-home-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 35px
}

.hm-home h2 {
  font-size: clamp(32px, 3.7vw, 58px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin: 0
}

.hm-home h2 em {
  font-style: normal;
  color: #377bfa
}

.hm-home-heading>p {
  max-width: 380px;
  margin: 0 0 3px;
  font-size: 14px
}

.hm-course-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 22px
}

.hm-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.hm-filter-buttons button {
  background: #f4f7fc;
  color: #62718c;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 9px 14px;
  font-size: 11px;
  cursor: pointer
}

.hm-filter-buttons button[aria-pressed=true] {
  background: #183969;
  color: white
}

.hm-course-search {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7d8ba1;
  border: 1px solid #dbe4f0;
  border-radius: 5px;
  padding: 8px 12px;
  margin: 0;
  width: 225px;
  flex-shrink: 0
}

.hm-course-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  color: #17315b;
  outline-offset: 3px
}

.hm-result-count {
  font-size: 11px;
  color: #8290a5 !important;
  margin: 18px 0 23px
}

.hm-home-courses {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px
}

.hm-home-courses .hm-course-card {
  border-radius: 7px;
  box-shadow: none;
  padding: 23px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s
}

.hm-home-courses .hm-course-card:hover {
  transform: translateY(-4px);
  border-color: #87b5ff;
  box-shadow: 0 14px 30px #17315b0a
}

.hm-course-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px
}

.hm-home .hm-course-symbol {
  margin: 0;
  border-radius: 9px;
  background: #eff5ff
}

.hm-course-number {
  font-size: 11px;
  color: #a1aec1
}

.hm-card-category {
  font-size: 9px;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #7889a4
}

.hm-home-courses h3 {
  font-size: 19px;
  margin: 10px 0 12px;
  line-height: 1.35
}

.hm-home-courses h3>a {
  color: #17315b
}

.hm-home-courses .hm-course-card>p {
  font-size: 12px;
  line-height: 1.75;
  margin-bottom: 22px
}

.hm-home-courses .hm-course-meta {
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  margin-top: auto
}

.hm-home-courses .hm-course-meta strong {
  font-size: 13px;
  color: #183969
}

.hm-course-detail-link {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  border-top: 1px solid #e5ebf4;
  padding-top: 15px;
  font-size: 11px;
  font-weight: 650
}

.hm-no-results {
  padding: 40px;
  text-align: center;
  background: #f4f7fc;
  border-radius: 8px
}

.hm-learning-section {
  background: #101f3b;
  color: #fff;
  padding: 90px 0
}

.hm-learning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  align-items: center
}

.hm-learning-grid>div>p {
  color: #a9bbd4;
  margin: 25px 0;
  max-width: 480px;
  font-size: 14px
}

.hm-learning-steps article {
  display: flex;
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid #ffffff20
}

.hm-learning-steps article>span {
  font-size: 12px;
  color: #7eadf1;
  padding-top: 3px
}

.hm-learning-steps h3 {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -.3px
}

.hm-learning-steps p {
  font-size: 13px;
  color: #a9bbd4;
  margin: 0;
  max-width: 440px
}

.hm-visit-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 9vw;
  align-items: center
}

.hm-visit-grid>div>p {
  max-width: 460px;
  margin: 25px 0;
  font-size: 14px
}

.hm-visit-card {
  border-radius: 8px;
  border: 1px solid #dce7f5;
  background: #f4f8ff;
  padding: 35px
}

.hm-visit-card>span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #6a809f
}

.hm-visit-card h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 17px 0 25px
}

.hm-visit-card a {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
  text-decoration: none;
  margin-top: 15px
}

.hm-visit-card i {
  width: 25px
}

.hm-visit-card>a:last-child {
  border-top: 1px solid #dbe5f3;
  padding-top: 20px;
  margin-top: 25px;
  font-weight: 600
}

.hm-visit-card>a:last-child>span {
  float: right
}

.hm-institute-photo {
  position: relative;
  margin: 0 0 22px;
  height: 410px;
  border: 1px solid #ffffff35;
  border-radius: 10px;
  overflow: hidden;
  background: #1d3b64;
  box-shadow: 0 25px 70px #00000025
}

.hm-institute-photo>img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%
}

.hm-institute-photo:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, #09172fde);
  pointer-events: none
}

.hm-institute-photo figcaption {
  position: absolute;
  bottom: 22px;
  left: 25px;
  right: 25px;
  z-index: 1
}

.hm-institute-photo figcaption>span {
  font-size: 8px;
  letter-spacing: 2px;
  color: #d1e1f6
}

.hm-institute-photo figcaption strong {
  display: block;
  font-size: 27px;
  color: #fff;
  font-weight: 600;
  margin: 6px 0
}

.hm-institute-photo figcaption a {
  font-size: 11px;
  color: #d1e1f6;
  text-decoration: none
}

.hm-institute-photo figcaption a span {
  margin-left: 8px
}

@media(min-width:1800px) {
  .hm-stage-grid {
    gap: 9vw
  }

  .hm-stage {
    padding-top: 95px;
    padding-bottom: 35px
  }

  .hm-showcase {
    max-width: 780px
  }

  .hm-stage-copy>p {
    font-size: 18px
  }

  .hm-home-courses {
    gap: 25px
  }

  .hm-home-courses .hm-course-card {
    padding: 30px
  }

  .hm-institute-photo {
    height: 490px
  }
}

@media(max-width:1199px) {
  .hm-home-courses {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .hm-stage-grid {
    gap: 35px
  }

  .hm-stage h1 {
    letter-spacing: -2px
  }

  .hm-course-controls {
    flex-wrap: wrap
  }

  .hm-proof-strip strong {
    font-size: 22px
  }
}

@media(max-width:1199px) and (min-width:768px) {
  .hm-institute-photo {
    height: 370px
  }
}

@media(max-width:767px) {
  .hm-stage {
    padding-top: 42px
  }

  .hm-stage-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .hm-stage h1 {
    font-size: clamp(39px, 8vw, 58px);
    letter-spacing: -1.9px
  }

  .hm-stage-copy>p {
    font-size: 14px
  }

  .hm-kicker {
    font-size: 8px;
    letter-spacing: 1.2px
  }

  .hm-stage-foot {
    margin-top: 25px;
    font-size: 8px;
    gap: 15px
  }

  .hm-stage-foot span+span {
    padding-left: 15px
  }

  .hm-showcase {
    max-width: 570px;
    width: 100%;
    margin: auto
  }

  .hm-scroll-cue {
    margin-top: 20px
  }

  .hm-proof-strip>.hm-wide {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding-top: 24px;
    padding-bottom: 24px
  }

  .hm-proof-strip .hm-wide>div,
  .hm-proof-strip .hm-wide>a {
    padding: 0 15px
  }

  .hm-proof-strip .hm-wide>:nth-child(odd) {
    padding-left: 0
  }

  .hm-proof-strip .hm-wide>:nth-child(even) {
    border: 0
  }

  .hm-proof-strip strong {
    font-size: 22px
  }

  .hm-proof-strip span {
    font-size: 10px
  }

  .hm-home-section,
  .hm-learning-section {
    padding: 55px 0
  }

  .hm-home-heading {
    display: block
  }

  .hm-home-heading>p {
    margin-top: 20px
  }

  .hm-home h2 {
    font-size: 36px;
    letter-spacing: -1px
  }

  .hm-home-courses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
  }

  .hm-home-courses .hm-course-card {
    padding: 17px
  }

  .hm-home-courses h3 {
    font-size: 17px
  }

  .hm-home-courses .hm-course-meta {
    font-size: 10px
  }

  .hm-course-controls {
    gap: 15px
  }

  .hm-course-search {
    width: 100%
  }

  .hm-filter-buttons {
    gap: 6px
  }

  .hm-filter-buttons button {
    font-size: 10px;
    padding: 8px 10px
  }

  .hm-learning-grid,
  .hm-visit-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .hm-visit-card {
    padding: 27px
  }

  .hm-institute-photo {
    height: 360px
  }

  .hm-institute-photo figcaption {
    left: 20px;
    bottom: 20px
  }
}

@media(max-width:479px) {
  .hm-home-courses {
    grid-template-columns: 1fr
  }

  .hm-stage .hm-actions {
    gap: 9px
  }

  .hm-stage .hm-button {
    font-size: 12px;
    padding: 12px 16px
  }

  .hm-showcase-top {
    margin-bottom: 15px
  }

  .hm-spotlight {
    padding: 16px
  }

  .hm-spotlight [role=tabpanel]>a {
    font-size: 17px
  }

  .hm-stage-foot {
    font-size: 7px
  }

  .hm-institute-photo {
    height: 320px
  }

  .hm-institute-photo figcaption strong {
    font-size: 24px
  }
}

@media(prefers-reduced-motion:reduce) {
  .hm-home * {
    transition: none !important;
    scroll-behavior: auto !important
  }
}