/* Compact guest theme using the admin indigo palette and clear section boundaries. */
.hmskills-site {
  background: #f8fafc;
  --hm-blue: #4f46e5;
  --hm-canvas: #f8fafc;
  --hm-border: #e2e8f0
}

.hmskills-site .hm-header-inner {
  min-height: 70px
}

.hmskills-site .hm-brand {
  font-size: 18px
}

.hmskills-site .hm-brand small {
  font-size: 10px;
  letter-spacing: 0
}

.hmskills-site .hm-brand img {
  width: 38px;
  height: 38px
}

.hmskills-site .hm-section {
  padding: 30px 0
}

.hmskills-site .hm-section-head {
  margin-bottom: 20px
}

.hmskills-site .hm-section-title {
  font-size: clamp(24px, 2.5vw, 32px)
}

.hmskills-site .hm-hero-grid {
  gap: 30px
}

.hmskills-site .hm-hero-grid>img {
  max-height: 300px;
  width: 100%;
  object-fit: contain
}

.hmskills-site .hm-feature {
  padding: 22px;
  border-radius: 12px
}

.hmskills-site .hm-feature h3 {
  margin-top: 10px;
  font-size: 18px
}

.hmskills-site .hm-feature p {
  font-size: 13px
}

.hmskills-site .hm-feature-grid {
  gap: 18px
}

.hmskills-site .hm-page-banner {
  background: linear-gradient(120deg, #eef2ff, #f8fafc) !important;
  color: #172b4d !important;
  padding: 26px 0 !important;
  border-bottom: 1px solid #e2e8f0
}

.hmskills-site .hm-page-banner h1,
.hmskills-site .hm-page-banner .text-white {
  color: #142b57 !important
}

.hmskills-site .hm-page-banner h1 {
  font-size: clamp(25px, 3vw, 34px) !important;
  margin-bottom: 6px
}

.hmskills-site .hm-page-banner p,
.hmskills-site .hm-page-banner .text-white-50,
.hmskills-site .hm-page-banner .breadcrumb-item {
  color: #64748b !important
}

.hmskills-site .hm-page-banner .breadcrumb a {
  color: #4f46e5 !important
}

.hmskills-site .hm-page-banner .breadcrumb {
  margin-top: 8px
}

.hmskills-site .hm-footer {
  margin-top: 24px;
  padding-top: 28px;
  background: #eef2ff;
  color: #475569;
  border-top: 1px solid #e2e8f0
}

.hmskills-site .hm-footer-brand,
.hmskills-site .hm-footer h2 {
  color: #142b57 !important
}

.hmskills-site .hm-footer p,
.hmskills-site .hm-footer-grid>div>a:not(.hm-footer-brand) {
  color: #64748b
}

.hmskills-site .hm-footer-grid {
  gap: 30px
}

.hmskills-site .hm-footer h2 {
  margin-bottom: 12px
}

.hmskills-site .hm-footer p {
  margin: 10px 0;
  line-height: 1.7
}

.hmskills-site .hm-footer-bottom {
  border-color: #e2e8f0;
  margin-top: 22px;
  padding-top: 14px;
  padding-bottom: 14px;
  color: #64748b
}

.hmskills-site .hm-footer-bottom a {
  color: #4f46e5
}

.hmskills-site .hm-cta {
  background: #eef2ff;
  border: 1px solid #d4e3fa;
  border-radius: 12px;
  padding: 25px
}

.hmskills-site .hm-cta h2 {
  color: #142b57;
  font-size: 25px
}

.hmskills-site .hm-cta p {
  color: #64748b
}

.hmskills-site .hm-faq details {
  padding: 16px 20px
}

.hmskills-site .hm-faq details p {
  margin-top: 12px
}

.hmskills-site .hm-form-card {
  margin-top: 26px;
  margin-bottom: 26px;
  padding: 26px;
  border-radius: 12px
}

.hmskills-site .hm-contact-grid .hm-form-card {
  margin: 0
}

.hmskills-site .hm-auth {
  padding: 28px 20px
}

.hmskills-site .hm-auth-form {
  padding: 30px
}

.hmskills-site .hm-auth-art {
  padding: 28px
}

.hmskills-site .hm-auth-art img {
  max-height: 240px;
  margin: 15px 0
}

.hmskills-site .hm-auth-card {
  border-radius: 16px
}

.hmskills-site .hm-content .hm-section.py-5 {
  padding-top: 30px !important;
  padding-bottom: 30px !important
}

.hmskills-site .hm-content .hm-section .card-body.p-4 {
  padding: 20px !important
}

.hmskills-site .hm-content .hm-section .card-header.px-4 {
  padding-left: 20px !important;
  padding-right: 20px !important
}

.hmskills-site .hm-content .hm-section .card {
  border-radius: 12px !important
}

.hm-home {
  background: #ffffff
}

.hm-stage {
  padding: 28px 0 18px;
  background: linear-gradient(125deg, #eef2ff, #f8fafc 65%, #e0e7ff);
  color: #172b4d
}

.hm-stage:before {
  border-color: #4f46e510;
  box-shadow: 0 0 0 85px #4f46e502, 0 0 0 170px #4f46e502
}

.hm-stage-grid {
  gap: 5vw
}

.hm-kicker {
  color: #53759e;
  font-size: 9px;
  letter-spacing: 1.6px;
  margin-bottom: 17px
}

.hm-status-dot,
.hm-live-dot {
  background: #4f46e5
}

.hm-stage h1 {
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -2px;
  margin-bottom: 20px;
  line-height: 1.09;
  color: #c45b0b
}

.hm-stage h1 em {
  color: #1d4ed8
}

.hm-stage-copy>p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px
}

.hm-stage .hm-button-primary {
  padding: 11px 20px;
  border-radius: 8px
}

.hm-stage-secondary {
  color: #17315b !important;
  background: #fff;
  border-color: #d2e2f6;
  border-radius: 8px
}

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

.hm-stage-foot {
  margin-top: 24px;
  color: #334155;
  font-weight: 700;
  font-size: 8px;
  gap: 18px
}

.hm-stage-foot span+span {
  border-color: #cadbf1;
  padding-left: 18px
}

.hm-showcase {
  padding: 0
}

.hm-institute-photo {
  height: 320px;
  border-color: #d1e1f5;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px #142b5710;
  border-radius: 12px
}

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

.hm-institute-photo figcaption {
  bottom: 18px;
  left: 22px;
  right: 22px
}

.hm-institute-brand {
  padding: 5px 10px;
  text-align: center;
  border: 1px solid #bfdbfe;
  border-top: 3px solid #2563eb;
  border-radius: 12px;
  background: #fff1df;
  box-shadow: 0 8px 22px #1e40af0c
}

.hm-institute-name {
  display: block;
  color: #1d4ed8;
  font-size: clamp(24px, 3vw, 42px);
  white-space: nowrap;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.8px;
  text-shadow: 0 1px 0 #bfdbfe, 0 2px 0 #93c5fd, 0 3px 0 #60a5fa, 0 4px 0 #3b82f6, 0 7px 10px #1e3a8a24
}

.hmskills-site .hm-institute-brand p {
  margin: 4px 0 0;
  color: #334155;
  font-size: clamp(12px, 1.2vw, 16px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .35px
}

.hm-institute-brand strong>span,
.hm-institute-brand p>span {
  display: inline-block;
  white-space: nowrap;
  transform-origin: center
}

.hm-stage-copy>.hm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 30px;
  background: #ffffffd9;
  color: #1e40af;
  font-size: clamp(8px, .8vw, 10px);
  font-weight: 750;
  letter-spacing: 1px;
  line-height: 1.5;
  box-shadow: 0 4px 14px #1e40af08
}

.hm-stage-copy>.hm-kicker .hm-status-dot {
  margin: 0;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  background: #ea580c;
  box-shadow: 0 0 0 4px #ffedd5
}

.hmskills-site .hm-stage .hm-button-primary {
  background: #1d4ed8;
  box-shadow: 0 5px 14px #1d4ed826
}

.hmskills-site .hm-stage .hm-button-primary:hover {
  background: #1e40af
}

.hm-scroll-cue {
  margin-top: 22px;
  color: #6a809f !important;
  font-size: 8px
}

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

.hm-proof-strip {
  background: linear-gradient(120deg, #123b91, #1d4ed8 60%, #2563eb);
  border: 0
}

.hm-proof-strip>.hm-wide {
  padding-top: 18px;
  padding-bottom: 18px
}

.hm-proof-strip strong {
  font-size: 22px;
  color: #fff
}

.hm-proof-strip span {
  font-size: 10px;
  color: #e0e7ff
}

.hm-home-section {
  padding: 40px 0;
  background: #fff;
  border-bottom: 1px solid #e2e8f0
}

.hm-home-heading {
  margin-bottom: 24px;
  gap: 25px
}

.hm-home h2 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -1.1px
}

.hm-home-heading>p {
  font-size: 13px
}

.hm-home h2 em {
  color: #4f46e5
}

.hm-home .hm-eyebrow {
  margin-bottom: 12px;
  font-size: 10px
}

.hm-course-controls {
  padding-bottom: 16px
}

.hm-result-count {
  margin: 14px 0 18px;
  font-size: 11px
}

.hm-filter-buttons button {
  padding: 8px 12px
}

.hm-filter-buttons button[aria-pressed=true] {
  background: #4f46e5
}

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

.hm-home-courses .hm-course-card {
  padding: 19px 20px;
  border-radius: 12px;
  border-color: #e0e9f5;
  box-shadow: 0 4px 16px #142b5704
}

.hm-course-top {
  margin-bottom: 12px
}

.hm-home .hm-course-symbol {
  width: 38px;
  height: 38px;
  font-size: 18px
}

.hm-card-category {
  font-size: 8px
}

.hm-home-courses h3 {
  font-size: 18px;
  margin: 9px 0 16px
}

.hm-course-detail-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11px
}

.hm-course-detail-link span {
  color: #4f46e5
}

.hm-course-more {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 22px
}

.hm-course-more .hm-button {
  font-size: 12px;
  min-height: 40px;
  padding: 8px 16px
}

.hm-course-more .hm-text-link {
  font-size: 12px
}

.hm-learning-section {
  padding: 40px 0;
  background: #f1f5f9;
  color: #142b57;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #dbe2ec
}

.hm-learning-grid {
  gap: 6vw
}

.hm-learning-grid>div>p {
  color: #64748b;
  font-size: 13px;
  margin: 20px 0
}

.hm-learning-steps article {
  padding: 18px 0;
  border-color: #d8e5f6;
  gap: 18px
}

.hm-learning-steps article>span {
  color: #4f46e5;
  font-size: 11px
}

.hm-learning-steps h3 {
  font-size: 17px
}

.hm-learning-steps p {
  color: #64748b;
  font-size: 12px
}

.hm-visit-grid {
  gap: 6vw
}

.hm-visit-grid>div>p {
  font-size: 13px;
  margin: 20px 0
}

.hm-visit-card {
  padding: 25px;
  border-radius: 12px;
  background: #eef2ff
}

.hm-visit-card h3 {
  font-size: 25px;
  margin: 14px 0 20px
}

@media(max-width:1199px) {
  .hmskills-site .hm-header-inner {
    min-height: 66px;
    padding-top: 10px;
    padding-bottom: 10px
  }

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

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

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

@media(max-width:767px) {
  .hmskills-site .hm-section {
    padding: 24px 0
  }

  .hmskills-site .hm-brand small {
    font-size: 9px
  }

  .hmskills-site .hm-page-banner {
    padding: 22px 0 !important
  }

  .hmskills-site .hm-footer-grid {
    gap: 24px
  }

  .hmskills-site .hm-form-card {
    padding: 22px;
    margin: 24px 15px
  }

  .hmskills-site .hm-auth-form {
    padding: 25px
  }

  .hm-stage {
    padding: 24px 0 16px
  }

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

  .hm-stage h1 {
    font-size: clamp(34px, 7.8vw, 48px);
    letter-spacing: -1.5px
  }

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

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

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

  .hm-home h2 {
    font-size: 31px
  }

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

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

  .hm-proof-strip>.hm-wide {
    gap: 16px
  }

  .hm-learning-grid,
  .hm-visit-grid {
    gap: 24px
  }

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

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

  .hm-stage h1 {
    font-size: 35px
  }

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

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

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

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

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

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

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

  .hm-course-more {
    gap: 15px;
    flex-wrap: wrap
  }

  .hm-home-heading {
    margin-bottom: 20px
  }

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

  .hm-home-courses h3 {
    margin-bottom: 12px
  }
}

.hmskills-site .hm-light-callout {
  background: #eef2ff;
  color: #142b57;
  border-radius: 12px
}

.hmskills-site .hm-light-callout .text-white {
  color: #142b57 !important
}

.hmskills-site .hm-light-callout .text-white-50 {
  color: #64748b !important
}

.hmskills-site .hm-light-callout .btn-outline-light {
  border-color: #bfd4f1;
  color: #4f46e5;
  background: #fff
}

.hmskills-site .hm-light-callout .btn-outline-light:hover {
  background: #e1edff
}

.hmskills-site .hm-course-list .card-header {
  padding-top: 10px !important;
  padding-bottom: 10px !important
}

.hmskills-site .hm-course-list .card-title {
  font-size: 18px
}

.hmskills-site .hm-course-list .lead {
  font-size: 14px !important
}

.hmskills-site .hm-course-list .card-body {
  gap: 12px
}

/* Distinct surfaces signal where each section finishes and the next begins. */
.hmskills-site .hm-button-primary,
.hm-stage .hm-button-primary {
  background: #4f46e5;
  color: #fff !important;
  box-shadow: 0 4px 12px #4f46e51c
}

.hmskills-site .hm-button-primary:hover {
  background: #4338ca
}

.hmskills-site .hm-stage {
  border-bottom: 1px solid #dce3f6;
  background: radial-gradient(ellipse at 90% 15%, #dbeafe 0, transparent 55%), linear-gradient(115deg, #fff7ed, #f8fbff 55%, #eff6ff)
}

.hm-proof-strip .hm-wide>div,
.hm-proof-strip .hm-wide>a {
  border-color: #ffffff30
}

.hm-proof-strip strong>span {
  color: #dbeafe
}

.hmskills-site .hm-home-heading .hm-eyebrow,
.hmskills-site .hm-visit-grid .hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4338ca;
  font-size: 10px;
  letter-spacing: 1.3px
}

.hm-home-heading .hm-eyebrow:before,
.hm-visit-grid .hm-eyebrow:before {
  content: '';
  width: 22px;
  height: 3px;
  background: #4f46e5;
  border-radius: 2px
}

.hmskills-site .hm-home-courses .hm-course-card {
  border: 1px solid #e2e8f0;
  border-top: 3px solid #c7d2fe;
  box-shadow: 0 3px 12px #0f172a04;
  background: #fff
}

.hmskills-site .hm-home-courses .hm-course-card:hover {
  border-color: #a5b4fc;
  border-top-color: #4f46e5;
  box-shadow: 0 8px 22px #312e810c
}

.hmskills-site .hm-home .hm-course-symbol {
  background: #eef2ff;
  color: #4f46e5
}

.hmskills-site .hm-card-category {
  color: #64748b;
  font-size: 9px;
  letter-spacing: .35px
}

.hmskills-site .hm-course-search {
  background: #fff;
  border-color: #dce2ed
}

.hmskills-site .hm-course-controls {
  border-color: #e2e8f0
}

.hmskills-site .hm-filter-buttons button {
  background: #f1f5f9;
  color: #475569;
  border-color: #e2e8f0
}

.hmskills-site .hm-filter-buttons button[aria-pressed=true] {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5
}

.hmskills-site .hm-learning-section .hm-kicker {
  color: #4338ca;
  display: block;
  padding-left: 12px;
  border-left: 3px solid #4f46e5;
  line-height: 1.6
}

.hmskills-site .hm-learning-steps {
  display: grid;
  gap: 12px
}

.hmskills-site .hm-learning-steps article {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 3px 10px #0f172a03
}

.hmskills-site .hm-learning-steps article>span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 8px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 700
}

.hmskills-site .hm-learning-steps h3 {
  margin: 0 0 7px;
  color: #1e293b
}

.hmskills-site .hm-visit-section {
  background: #fff;
  border-bottom: 0
}

.hmskills-site .hm-visit-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #4f46e5;
  box-shadow: 0 4px 15px #0f172a04
}

.hmskills-site .hm-visit-card h3 {
  color: #1e293b
}

.hmskills-site .hm-visit-card>a:last-child {
  border-color: #e2e8f0
}

.hmskills-site .hm-footer {
  margin-top: 0;
  background: #17233b;
  color: #cbd5e1;
  border-top: 4px solid #4f46e5;
  padding-top: 30px
}

.hmskills-site .hm-footer-brand,
.hmskills-site .hm-footer h2 {
  color: #fff !important
}

.hmskills-site .hm-footer p,
.hmskills-site .hm-footer-grid>div>a:not(.hm-footer-brand) {
  color: #b6c2d4
}

.hmskills-site .hm-footer-bottom {
  border-color: #ffffff20;
  color: #a9b7ce
}

.hmskills-site .hm-footer-bottom a {
  color: #dbeafe
}

.hmskills-site .hm-page-banner {
  border-bottom: 3px solid #c7d2fe;
  background: linear-gradient(120deg, #eef2ff, #f8fafc) !important
}

.hmskills-site .hm-content>.hm-section {
  border-bottom: 1px solid #e2e8f0;
  background: #fff
}

.hmskills-site .hm-content>.hm-section:nth-of-type(even) {
  background: #f8fafc
}

.hmskills-site .hm-feature {
  border-top: 3px solid #c7d2fe;
  background: #fff
}

.hmskills-site .hm-light-callout,
.hmskills-site .hm-cta {
  background: #eef2ff;
  border-color: #d8def5
}

@media(max-width:767px) {
  .hmskills-site .hm-learning-steps article {
    padding: 16px;
    gap: 14px
  }

  .hmskills-site .hm-learning-steps article>span {
    width: 30px;
    height: 30px
  }

  .hmskills-site .hm-footer {
    padding-top: 26px
  }

  .hmskills-site .hm-home-heading .hm-eyebrow,
  .hmskills-site .hm-visit-grid .hm-eyebrow {
    letter-spacing: .8px;
    font-size: 9px
  }
}

media (max-width: 767px) {
  .trainee-img-compact {
    height: 140px;
  }

  .trainee-img-compact img {
    width: 90px;
    height: 90px;
  }
}

/* Compact course browser using the admin dashboard's card proportions. */
.hmskills-site #hm-courses {
  background: radial-gradient(ellipse at 90% 15%, #0872ff 0, #ef560c00 55%), linear-gradient(115deg, #ffa22e, #f8fbff 55%, #eff6ff);
  scroll-margin-top: 90px;
  border-bottom: 1px solid #dce3ed;
  padding: 24px 0
}

.hmskills-site #hm-courses .hm-course-controls {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  background: #ffffffd9;
  border: 1px solid #dce3ed;
  border-radius: 11px;
  box-shadow: 0 2px 8px #17315b04
}

.hmskills-site #hm-courses .hm-course-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0;
  color: #17315b;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: .6px
}

#hm-courses .hm-course-heading-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fff1df;
  color: #c45b0b;
  font-size: 15px
}

.hmskills-site #hm-courses .hm-course-search {
  width: 260px;
  min-width: 0;
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid #dce3ed;
  background: #f8fafc;
  padding: 7px 11px;
  color: #1d4ed8
}

#hm-courses .hm-course-search:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px #dbeafe
}

#hm-courses .hm-course-search input {
  font-size: 12px
}

#hm-courses .hm-result-count {
  margin: 11px 0;
  color: #64748b !important;
  font-size: 11px
}

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

.hmskills-site #hm-courses .hm-course-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  min-height: 98px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #ea580c;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 8px #17315b06
}

.hmskills-site #hm-courses .hm-course-card:hover {
  border-color: #fdba74;
  border-left-color: #ea580c;
  box-shadow: 0 6px 16px #17315b10;
  transform: translateY(-2px)
}

.hmskills-site #hm-courses .hm-course-symbol {
  width: 36px;
  height: 36px;
  margin: 0;
  border-radius: 9px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 17px
}

#hm-courses .hm-course-card-content {
  min-width: 0
}

#hm-courses .hm-course-number {
  align-self: start;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 3px 0;
  text-align: center;
  font-size: 10px;
  font-weight: 650
}

.hmskills-site #hm-courses .hm-card-category {
  display: block;
  color: #64748b;
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: .3px
}

#hm-courses .hm-course-card h3 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 750;
  margin: 4px 0 6px;
  overflow-wrap: anywhere
}

#hm-courses .hm-course-card h3 a {
  color: #17315b
}

#hm-courses .hm-course-card h3 a:hover {
  color: #1d4ed8
}

#hm-courses .hm-course-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600
}

#hm-courses .hm-course-detail-link span {
  color: #1d4ed8
}

#hm-courses .hm-course-more {
  margin-top: 16px;
  gap: 18px
}

#hm-courses .hm-course-more .hm-button {
  min-height: 34px;
  padding: 7px 14px;
  color: #fff !important;
  background: #1d4ed8;
  border: 1px solid #1d4ed8;
  border-radius: 8px;
  font-size: 11px;
  box-shadow: 0 3px 8px #1d4ed819
}

#hm-courses .hm-course-more .hm-button:hover {
  background: #1e40af;
  border-color: #1e40af
}

#hm-courses .hm-text-link {
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 600
}

#hm-courses .hm-no-results {
  margin-top: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid #dce3ed;
  color: #526078
}

#hm-courses button:focus-visible,
#hm-courses a:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px
}

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

@media(max-width:767px) {
  .hmskills-site #hm-courses {
    padding: 18px 0
  }

  .hmskills-site #hm-courses .hm-course-controls {
    padding: 10px;
    gap: 10px
  }

  .hmskills-site #hm-courses .hm-course-section-title {
    flex: 1;
    gap: 7px;
    font-size: 10px;
    letter-spacing: .2px
  }

  #hm-courses .hm-course-heading-mark {
    width: 26px;
    height: 26px;
    font-size: 12px
  }

  .hmskills-site #hm-courses .hm-course-search {
    width: 42%;
    gap: 6px;
    padding: 7px 8px
  }

  #hm-courses .hm-course-search input {
    font-size: 11px
  }

  #hm-courses .hm-home-courses {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .hmskills-site #hm-courses .hm-course-card {
    min-height: 90px;
    padding: 11px 12px
  }
}

/* Approach and admission sections share the orange/blue course-card design. */
.hmskills-site .hm-learning-section {
  background: linear-gradient(115deg, #eff6ff, #f8fbff 55%, #fff7ed);
  border-color: #dce3ed
}

.hmskills-site .hm-visit-section {
  background: linear-gradient(115deg, #fff7ed, #f8fbff 55%, #eff6ff)
}

.hmskills-site .hm-learning-section .hm-kicker,
.hmskills-site .hm-visit-section .hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid #fed7aa;
  border-left: 3px solid #ea580c;
  border-radius: 7px;
  background: #fff7ed;
  color: #9a450b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.6
}

.hm-visit-section .hm-eyebrow:before {
  background: #ea580c
}

.hmskills-site .hm-learning-section h2,
.hmskills-site .hm-visit-section h2 {
  color: #c45b0b
}

.hmskills-site .hm-learning-section h2 em,
.hmskills-site .hm-visit-section h2 em {
  color: #1d4ed8
}

.hmskills-site .hm-learning-grid>div>p,
.hmskills-site .hm-visit-grid>div>p {
  color: #526078
}

.hmskills-site .hm-learning-section .hm-button,
.hmskills-site .hm-visit-section .hm-button-primary {
  color: #fff !important;
  background: #1d4ed8;
  border-color: #1d4ed8;
  border-radius: 8px;
  box-shadow: 0 4px 12px #1d4ed81c
}

.hmskills-site .hm-learning-section .hm-button:hover,
.hmskills-site .hm-visit-section .hm-button-primary:hover {
  background: #1e40af;
  border-color: #1e40af
}

.hmskills-site .hm-visit-section .hm-button-secondary {
  color: #1d4ed8 !important;
  border-color: #bfdbfe;
  border-radius: 8px;
  background: #fff
}

.hmskills-site .hm-visit-section .hm-button-secondary:hover {
  background: #eff6ff;
  border-color: #93c5fd
}

.hmskills-site .hm-learning-steps article {
  border: 1px solid #e2e8f0;
  border-left: 4px solid #3b82f6;
  border-radius: 11px;
  padding-left: 17px;
  background: #fff;
  box-shadow: 0 2px 8px #17315b06;
  transition: border-color .2s, box-shadow .2s, transform .2s
}

.hmskills-site .hm-learning-steps article:hover,
.hmskills-site .hm-visit-card:hover {
  border-color: #bfdbfe;
  border-left-color: #1d4ed8;
  box-shadow: 0 6px 16px #17315b10;
  transform: translateY(-2px)
}

.hmskills-site .hm-learning-steps article>span {
  background: #fff1df;
  color: #c45b0b;
  border-radius: 8px
}

.hmskills-site .hm-learning-steps h3 {
  color: #1d4ed8
}

.hmskills-site .hm-learning-steps p {
  color: #526078
}

.hmskills-site .hm-visit-card {
  border: 1px solid #e2e8f0;
  border-left: 4px solid #3b82f6;
  border-radius: 11px;
  padding-top: 27px;
  padding-left: 22px;
  background: #fff;
  box-shadow: 0 2px 8px #17315b06;
  transition: border-color .2s, box-shadow .2s, transform .2s
}

.hmskills-site .hm-visit-card>span {
  color: #9a450b;
  font-weight: 700
}

.hmskills-site .hm-visit-card h3 {
  color: #c45b0b
}

.hmskills-site .hm-visit-card h3 em {
  color: #1d4ed8;
  font-style: normal
}

.hmskills-site .hm-visit-card>a {
  color: #1d4ed8
}

.hmskills-site .hm-visit-card>a i {
  color: #ea580c
}

.hmskills-site .hm-visit-card>a:hover {
  color: #1e40af
}

.hm-learning-section a:focus-visible,
.hm-visit-section a:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px
}

@media(max-width:767px) {
  .hmskills-site .hm-learning-steps article {
    padding-left: 13px
  }

  .hmskills-site .hm-visit-card {
    padding-top: 25px;
    padding-left: 20px
  }

  .hmskills-site .hm-learning-section .hm-kicker,
  .hmskills-site .hm-visit-section .hm-eyebrow {
    font-size: 9px;
    letter-spacing: .5px
  }
}

/* Consistent compact pill buttons throughout the guest frontend. */
.hmskills-site .hm-button,
.hmskills-site .btn,
.hmskills-site input[type="submit"] {
  border-radius: 999px !important;
  min-height: 36px !important;
  padding: 8px 16px !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
  gap: 8px
}

.hmskills-site button {
  border-radius: 999px !important
}

.hmskills-site .hm-actions {
  gap: 10px
}

/* Learner feedback carousel replacing the former overview strip. */
.hm-feedback-section {
  background: linear-gradient(120deg, #123b91, #1d4ed8 60%, #2563eb);
  padding: 24px 0;
  scroll-margin-top: 90px
}

.hm-feedback-grid {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.8fr);
  gap: 40px;
  align-items: center
}

.hm-feedback-eyebrow {
  display: inline-block;
  color: #fed7aa;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 10px
}

.hmskills-site .hm-feedback-intro h2 {
  color: #fff;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.2;
  letter-spacing: -.8px
}

.hmskills-site .hm-feedback-intro h2 em {
  color: #fed7aa
}

.hm-feedback-intro>p {
  color: #dbeafe;
  font-size: 12px;
  margin: 12px 0
}

.hmskills-site .hm-feedback-share {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 650
}

.hmskills-site .hm-feedback-share:hover {
  color: #fed7aa
}

.hm-feedback-card {
  background: #fff;
  border: 1px solid #dbeafe;
  border-left: 4px solid #ea580c;
  border-radius: 13px;
  padding: 20px 24px;
  box-shadow: 0 8px 24px #0b286329;
  min-height: 188px
}

.hm-feedback-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.hm-feedback-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}

.hm-feedback-person img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #dbeafe;
  flex-shrink: 0
}

.hm-feedback-person strong {
  display: block;
  color: #17315b;
  font-size: 15px;
  font-weight: 750
}

.hm-feedback-person span {
  display: block;
  color: #64748b;
  font-size: 11px;
  margin-top: 3px
}

.hm-feedback-stars {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  color: #e8860c;
  font-size: 14px
}

.hm-feedback-card blockquote {
  margin: 15px 0 10px;
  padding: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500
}

.hm-feedback-sample {
  display: inline-block;
  color: #9a450b;
  background: #fff7ed;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 10px
}

.hm-feedback-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px
}

.hm-feedback-dots,
.hm-feedback-arrows {
  display: flex;
  align-items: center;
  gap: 8px
}

.hm-feedback-controls button {
  cursor: pointer
}

.hm-feedback-dots button {
  border: 0;
  background: #ffffff55;
  width: 9px;
  height: 9px;
  padding: 0
}

.hm-feedback-dots button[aria-current=true] {
  background: #fed7aa;
  width: 24px
}

.hm-feedback-arrows button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff55;
  background: #ffffff14;
  color: #fff;
  padding: 0;
  font-size: 11px
}

.hm-feedback-arrows button:hover {
  background: #ffffff30
}

.hm-feedback-section button:focus-visible,
.hm-feedback-section a:focus-visible {
  outline: 3px solid #fed7aa;
  outline-offset: 3px
}

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

@media(max-width:767px) {
  .hm-feedback-section {
    padding: 22px 0
  }

  .hm-feedback-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .hmskills-site .hm-feedback-intro h2 {
    font-size: 27px
  }

  .hm-feedback-card {
    padding: 16px;
    min-height: 218px
  }

  .hm-feedback-card-top {
    flex-wrap: wrap;
    gap: 10px
  }

  .hm-feedback-person img {
    width: 44px;
    height: 44px
  }

  .hm-feedback-stars {
    font-size: 12px
  }

  .hm-feedback-card blockquote {
    font-size: 13px
  }
}

/* Restored institute overview cards. */
.hmskills-site .hm-proof-strip>.hm-wide {
  gap: 14px;
  padding-top: 16px;
  padding-bottom: 16px
}

.hmskills-site .hm-proof-strip .hm-wide>.hm-proof-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #ffffff30;
  border-radius: 11px;
  background: #ffffff0a;
  text-decoration: none
}

.hmskills-site .hm-proof-strip .hm-proof-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fed7aa;
  background: #ffffff14;
  font-size: 18px
}

.hmskills-site .hm-proof-strip strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 750;
  letter-spacing: -.4px
}

.hmskills-site .hm-proof-strip .hm-proof-count {
  color: #fed7aa;
  font-size: 26px
}

.hmskills-site .hm-proof-strip .hm-proof-item>div>span {
  margin-top: 4px;
  color: #dbeafe;
  font-size: 11px;
  line-height: 1.4
}

.hmskills-site .hm-proof-strip .hm-wide>.hm-proof-contact {
  border-color: #fff;
  background: #fff;
  box-shadow: 0 4px 14px #123b911a;
  transition: background .2s, transform .2s
}

.hmskills-site .hm-proof-contact strong,
.hmskills-site .hm-proof-contact strong>span {
  color: #1d4ed8
}

.hmskills-site .hm-proof-strip .hm-proof-contact>div>span {
  color: #526078
}

.hmskills-site .hm-proof-strip .hm-proof-contact .hm-proof-icon {
  background: #fff1df;
  color: #c45b0b
}

.hmskills-site .hm-proof-strip .hm-wide>.hm-proof-contact:hover {
  background: #eff6ff;
  transform: translateY(-2px)
}

.hm-proof-contact:focus-visible {
  outline: 3px solid #fed7aa;
  outline-offset: 3px
}

.hm-google-rating-heading,
.hm-google-rating-score {
  display: flex;
  align-items: center;
  gap: 13px
}

.hm-google-rating-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #fff1df;
  color: #c45b0b;
  font-size: 20px
}

.hm-google-rating-heading strong {
  display: block;
  color: #17315b;
  font-size: 16px
}

.hm-google-rating-heading div>span,
.hm-google-rating-score div>span {
  display: block;
  color: #64748b;
  font-size: 11px;
  margin-top: 4px
}

.hm-google-rating-score {
  margin-top: 16px
}

.hm-google-rating-score>strong {
  color: #1d4ed8;
  font-size: 36px;
  line-height: 1
}

.hm-google-rating p {
  margin: 14px 0;
  color: #526078;
  font-size: 13px
}

.hm-google-rating small {
  display: block;
  margin-top: 10px;
  color: #64748b;
  font-size: 10px
}

.hmskills-site .hm-feedback-source {
  color: #1d4ed8;
  font-size: 11px
}

@media(max-width:991px) {
  .hmskills-site .hm-proof-strip>.hm-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }
}

@media(max-width:479px) {
  .hmskills-site .hm-proof-strip .hm-wide>.hm-proof-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 10px
  }

  .hmskills-site .hm-proof-strip .hm-proof-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
    border-radius: 8px
  }

  .hmskills-site .hm-proof-strip strong {
    font-size: 16px;
    letter-spacing: -.3px
  }

  .hmskills-site .hm-proof-strip .hm-proof-count {
    font-size: 22px
  }

  .hmskills-site .hm-proof-strip .hm-proof-item>div>span {
    font-size: 10px
  }
}

/* Compact testimonial row: portraits above individual quotation boxes. */
.hmskills-site .hm-feedback-section {
  --hm-reviews-visible: 4;
  padding: 22px 0;
  background: #fff0f5;
  border-top: 1px solid #d5e6f8;
  border-bottom: 1px solid #dce3ed;
}

.hm-testimonial-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.hm-testimonial-heading>div>span {
  color: #c45b0b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.hmskills-site .hm-testimonial-heading h2 {
  margin: 4px 0 0;
  color: #c45b0b;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.6px;
}

.hm-testimonial-heading h2 em {
  color: #1d4ed8;
  font-style: normal;
}

.hm-testimonial-heading-note {
  text-align: right;
  flex-shrink: 0;
}

.hm-testimonial-heading-note>span {
  letter-spacing: 2px;
}

.hm-testimonial-heading-note small {
  display: block;
  color: #64748b;
  font-size: 9px;
  margin-top: 3px;
}

.hm-testimonial-viewport {
  overflow: hidden;
  padding: 5px 0;
}

.hm-testimonial-track {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.hm-testimonial-card {
  flex: 0 0 calc((100% - (var(--hm-reviews-visible) - 1)*14px)/var(--hm-reviews-visible));
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  padding: 2px 0 0;
}

.hm-testimonial-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #fed7aa, 0 3px 8px #9a450b12;
}

.hm-testimonial-name {
  margin-top: 7px;
  color: #1d4ed8;
  font-size: 13px;
  line-height: 1.3;
}

.hm-testimonial-course {
  margin-top: 2px;
  color: #64748b;
  font-size: 10px;
  line-height: 1.3;
}

.hm-testimonial-card .hm-feedback-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  color: #ea8a12;
  font-size: 10px;
  margin-top: 5px;
}

.hm-testimonial-card blockquote {
  position: relative;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  margin: 12px 0 0;
  padding: 13px 14px;
  border: 1px solid #ecdac6;
  border-radius: 10px;
  background: #fff;
  color: #526078;
  font-size: 12px;
  line-height: 1.65;
  font-style: normal;
  box-shadow: 0 3px 8px #17315b04;
}

.hm-testimonial-card blockquote::before {
  content: '';
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 10px;
  height: 10px;
  background: #fff;
  border-top: 1px solid #ecdac6;
  border-left: 1px solid #ecdac6;
  transform: rotate(45deg);
}

.hm-feedback-section .hm-feedback-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
}

.hm-feedback-section .hm-feedback-controls[hidden] {
  display: none;
}

.hm-feedback-section .hm-feedback-dots {
  display: flex;
  gap: 6px;
}

.hm-feedback-section .hm-feedback-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  background: #cbd5e1;
  border-radius: 999px;
}

.hm-feedback-section .hm-feedback-dots button[aria-current=true] {
  width: 19px;
  background: #ea580c;
}

.hm-feedback-section .hm-feedback-arrows {
  display: flex;
  gap: 5px;
}

.hm-feedback-section .hm-feedback-arrows button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #dbe3ef;
  background: #fff;
  color: #1d4ed8;
  font-size: 9px;
  border-radius: 999px;
}

.hm-feedback-section .hm-feedback-arrows button:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.hm-feedback-section button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

@media(max-width:1199px) {
  .hmskills-site .hm-feedback-section {
    --hm-reviews-visible: 3;
  }
}

@media(max-width:991px) {
  .hmskills-site .hm-feedback-section {
    --hm-reviews-visible: 2;
  }
}

@media(max-width:599px) {
  .hmskills-site .hm-feedback-section {
    --hm-reviews-visible: 1;
    padding: 18px 0;
  }

  .hmskills-site .hm-testimonial-heading h2 {
    font-size: 20px;
  }

  .hm-testimonial-card blockquote {
    padding: 12px 16px;
  }
}

/* Rounded review cards with a portrait beside the learner's name. */
.hm-testimonial-viewport {
  cursor: grab;
  touch-action: pan-y;
}

.hm-testimonial-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.hm-testimonial-card {
  align-items: stretch;
  text-align: left;
  padding: 15px 17px;
  border: 1px solid #f1dcc7;
  border-radius: 30px;
  background: linear-gradient(140deg, #fff, #fffaf3);
  box-shadow: 0 3px 9px #17315b06;
}

.hm-testimonial-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hm-testimonial-person>div {
  min-width: 0;
}

.hm-testimonial-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

.hm-testimonial-name {
  display: block;
  margin-top: 0;
}

.hm-testimonial-course {
  display: block;
}

.hm-testimonial-card .hm-feedback-stars {
  justify-content: flex-start;
  margin: 6px 0 0;
}

.hm-testimonial-card blockquote {
  border: 0;
  border-left: 3px solid #ea580c;
  border-radius: 0;
  background: transparent;
  margin: 12px 0 0;
  padding: 0 0 0 12px;
  box-shadow: none;
}

.hm-testimonial-card:nth-child(even) blockquote {
  border-left-color: #2563eb;
}

.hm-testimonial-card blockquote::before {
  display: none;
}

@media(max-width:599px) {
  .hm-testimonial-card blockquote {
    padding: 0 0 0 12px;
  }
}

/* Course actions, institute panel and a cohesive orange/blue guest footer. */
.hmskills-site #hm-courses .hm-course-card {
  background: linear-gradient(130deg, #fffaf3, #f3f8ff);
}

.hmskills-site .hm-institute-brand {
  border-color: #fed7aa;
  border-top-color: #ea580c;
  background: #fff;
  padding-bottom: 10px;
}

.hmskills-site .hm-institute-brand p {
  margin-top: 8px;
}

.hmskills-site .hm-footer-refresh {
  padding-top: 0;
  background: radial-gradient(ellipse at 90% 0, #193f6d 0, transparent 65%), #12233d;
  border-top: 3px solid #ea580c;
}

.hm-footer-refresh .hm-footer-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #ffffff18;
}

.hm-footer-invite>div>span {
  display: block;
  color: #fdba74;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  margin-bottom: 5px;
}

.hm-footer-invite strong {
  color: #fff;
  font-size: 22px;
  letter-spacing: -.4px;
}

.hmskills-site .hm-footer-refresh .hm-footer-invite .hm-button {
  background: #2563eb;
  border-color: #3b82f6;
  color: #fff !important;
}

.hmskills-site .hm-footer-refresh .hm-footer-grid {
  grid-template-columns: 1.4fr .75fr .85fr 1.1fr;
  gap: 35px;
  padding-top: 26px;
}

.hmskills-site .hm-footer-refresh .hm-footer-grid>div:first-child {
  grid-column: auto;
}

.hm-footer-refresh .hm-footer-brand {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 20px;
  line-height: 1.3;
}

.hm-footer-refresh .hm-footer-brand i {
  color: #fb923c;
}

.hm-footer-refresh .hm-footer-tagline {
  display: block;
  color: #93c5fd;
  margin: 7px 0 0;
  font-size: 11px;
}

.hmskills-site .hm-footer-refresh p {
  font-size: 12px;
  line-height: 1.8;
  color: #b9c8dc;
  margin: 13px 0;
  max-width: none;
}

.hm-footer-refresh .hm-footer-location {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #dbeafe;
  font-size: 11px;
  padding: 5px 9px;
  border: 1px solid #ffffff1c;
  border-radius: 999px;
}

.hm-footer-refresh .hm-footer-location i {
  color: #fb923c;
}

.hmskills-site .hm-footer-refresh h2 {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
}

.hm-footer-refresh h2 i {
  color: #fb923c;
  font-size: 13px;
}

.hmskills-site .hm-footer-refresh .hm-footer-grid>div>a:not(.hm-footer-brand) {
  margin: 9px 0;
  font-size: 12px;
  color: #b9c8dc;
  line-height: 1.5;
  text-decoration: none;
}

.hmskills-site .hm-footer-refresh .hm-footer-grid>div>a:hover {
  color: #fff;
}

.hmskills-site .hm-footer-refresh .hm-footer-contact>a:not(.hm-footer-brand),
.hm-footer-refresh .hm-footer-contact>p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hm-footer-refresh .hm-footer-contact>p>span,
.hm-footer-refresh .hm-footer-contact>a>span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hm-footer-refresh .hm-footer-contact>a>i,
.hm-footer-refresh .hm-footer-contact>p>i {
  color: #93c5fd;
  width: 13px;
  flex-shrink: 0;
  margin-top: 3px;
}

.hmskills-site .hm-footer-refresh .hm-footer-contact>a.hm-footer-contact-link {
  color: #fdba74;
  font-weight: 600;
  margin-top: 14px;
}

.hmskills-site .hm-footer-refresh .hm-footer-bottom {
  margin-top: 22px;
  border-top: 1px solid #ffffff18;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 10px;
}

.hm-footer-refresh a:focus-visible {
  outline: 2px solid #fdba74;
  outline-offset: 4px;
  border-radius: 3px;
}

@media(max-width:991px) {
  .hmskills-site .hm-footer-refresh .hm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media(max-width:599px) {
  .hmskills-site .hm-footer-refresh .hm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .hmskills-site .hm-footer-refresh .hm-footer-about,
  .hmskills-site .hm-footer-refresh .hm-footer-contact {
    grid-column: 1/-1 !important;
  }

  .hm-footer-refresh .hm-footer-invite {
    gap: 12px;
    padding: 18px 0;
  }

  .hm-footer-invite strong {
    font-size: 18px;
  }

  .hm-footer-invite>div>span {
    font-size: 8px;
    letter-spacing: .8px;
  }

  .hmskills-site .hm-footer-refresh .hm-footer-invite .hm-button {
    flex-shrink: 0;
  }

  .hmskills-site .hm-footer-refresh .hm-footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}

.hm-footer-refresh .hm-footer-link-icon {
  display: inline-block;
  width: 16px;
  margin-right: 5px;
  color: #93c5fd;
  font-size: 11px;
  text-align: center;
}

.hm-footer-refresh a:hover .hm-footer-link-icon {
  color: #fdba74;
}

/* Previous compact course layout with the updated soft backgrounds. */
.hmskills-site #hm-courses {
  background: linear-gradient(135deg, #f5f8ff, #fff8f0);
}

.hmskills-site #hm-courses .hm-course-card {
  background: radial-gradient(circle at 100% 0, #eff6ff, transparent 65%), #fff;
}

.hmskills-site #hm-courses .hm-course-card[data-hm-category="business"] {
  background: radial-gradient(circle at 100% 0, #fff3e5, transparent 65%), #fff;
}

.hmskills-site #hm-courses .hm-course-card[data-hm-category="technology"] {
  background: radial-gradient(circle at 100% 0, #eafaf6, transparent 65%), #fff;
}

/* Match the View all courses action to the hero's Talk to us pill. */
#hm-courses .hm-course-more .hm-stage-secondary {
  color: #17315b !important;
  background: #fff;
  border-color: #d2e2f6;
  box-shadow: none;
}

#hm-courses .hm-course-more .hm-stage-secondary:hover {
  background: #eef2ff;
  border-color: #d2e2f6;
}

/* Polished guest header with stacked institute branding and clear navigation. */
.hmskills-site .hm-header {
  background: #fff;
  border-bottom: 1px solid #e2eaf4;
  box-shadow: 0 3px 16px #17315b06;
}

.hmskills-site .hm-header-inner {
  min-height: 80px;
  gap: 24px;
}

.hmskills-site .hm-brand {
  gap: 12px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.7px;
  line-height: 1.15;
}

.hmskills-site .hm-brand>span {
  display: block;
}

.hmskills-site .hm-brand small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #526078;
  letter-spacing: .1px;
}

.hmskills-site .hm-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 3px 9px #2563eb18;
}

.hmskills-site .hm-nav-list {
  gap: 5px;
}

.hmskills-site .hm-nav-list>li>a:not(.hm-button) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  color: #475569;
  transition: background .2s, color .2s;
}

.hmskills-site .hm-nav-list>li>a:not(.hm-button):hover {
  background: #f1f6ff;
  color: #1d4ed8;
}

.hmskills-site .hm-nav-list>li>a[aria-current="page"] {
  background: #eff6ff;
  color: #1d4ed8;
}

.hmskills-site .hm-nav-list>li>a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: calc(50% - 8px);
  bottom: 3px;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #ea580c;
}

.hmskills-site .hm-nav-list>li>a.hm-login-link {
  margin-left: 8px;
  border: 1px solid #dce6f2;
  color: #17315b;
  background: #fff;
}

.hmskills-site .hm-header .hm-button-primary {
  margin-left: 5px;
  background: #1d4ed8;
  border-color: #1d4ed8;
  box-shadow: 0 3px 9px #1d4ed81c;
}

.hmskills-site .hm-header .hm-button-primary:hover {
  background: #1e40af;
}

.hmskills-site .hm-menu-toggle {
  border-color: #dce6f2;
  background: #f8fbff;
}

.hmskills-site .hm-menu-toggle[aria-expanded="true"] {
  background: #eff6ff;
  border-color: #93c5fd;
}

.hmskills-site .hm-header a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

@media(max-width:1199px) {
  .hmskills-site .hm-header-inner {
    min-height: 74px;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hmskills-site .hm-navigation {
    border-top: 1px solid #e2eaf4;
    padding-top: 10px;
    padding-bottom: 0;
  }

  .hmskills-site .hm-nav-list {
    gap: 3px;
  }

  .hmskills-site .hm-nav-list>li>a:not(.hm-button) {
    display: flex;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
  }

  .hmskills-site .hm-nav-list>li>a[aria-current="page"]::after {
    left: 0;
    top: 13px;
    bottom: auto;
    width: 3px;
    height: 18px;
  }

  .hmskills-site .hm-nav-list>li>a.hm-login-link {
    margin: 5px 0 0;
  }

  .hmskills-site .hm-header .hm-button-primary {
    margin-left: 0;
  }
}

@media(max-width:599px) {
  .hmskills-site .hm-brand {
    gap: 9px;
    font-size: 20px;
    letter-spacing: -.5px;
  }

  .hmskills-site .hm-brand small {
    font-size: 10px;
    margin-top: 4px;
    letter-spacing: 0;
  }

  .hmskills-site .hm-brand img {
    width: 40px;
    height: 40px;
  }

  .hmskills-site .hm-menu-toggle {
    width: 40px;
    height: 40px;
    padding: 9px;
  }
}

/* User's institute logo with tighter, left-aligned branding lines. */
.hmskills-site .hm-brand {
  gap: 6px;
}

.hmskills-site .hm-brand>span {
  text-align: left;
}

.hmskills-site .hm-brand small {
  margin-top: 1px;
  margin-left: 0;
  padding-left: 0;
}

.hmskills-site .hm-brand img {
  width: 80px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  flex-shrink: 0;
}

@media(max-width:599px) {
  .hmskills-site .hm-brand img {
    width: 48px;
    height: 40px;
    border-radius: 10px;
  }
}

/* Give the full institute logo enough space to remain legible. */
.hmskills-site .hm-brand img {
  width: 160px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: none;
}

.hmskills-site .hm-header-inner {
  min-height: 92px;
}

@media(min-width:1200px) and (max-width:1399px) {
  .hmskills-site .hm-nav-list {
    gap: 2px;
  }

  .hmskills-site .hm-nav-list>li>a:not(.hm-button) {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hmskills-site .hm-header-inner {
    gap: 16px;
  }
}

@media(max-width:1199px) {
  .hmskills-site .hm-header-inner {
    min-height: 92px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
}

@media(max-width:599px) {
  .hmskills-site .hm-brand {
    gap: 7px;
    font-size: 18px;
    letter-spacing: -.5px;
  }

  .hmskills-site .hm-brand small {
    font-size: 9px;
  }

  .hmskills-site .hm-brand img {
    width: 105px;
    height: 62px;
    border-radius: 10px;
  }

  .hmskills-site .hm-header-inner {
    min-height: 80px;
    gap: 8px;
  }

  .hmskills-site .hm-menu-toggle {
    width: 34px;
    height: 34px;
    padding: 7px;
  }
}

@media(max-width:359px) {
  .hmskills-site .hm-brand {
    font-size: 16px;
    gap: 5px;
  }

  .hmskills-site .hm-brand small {
    font-size: 8px;
  }

  .hmskills-site .hm-brand img {
    width: 90px;
    height: 58px;
  }
}

/* Logo-only branding with a compact tagline underneath. */
.hmskills-site .hm-brand {
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 160px;
}

.hmskills-site .hm-brand .hm-logo-tagline {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
  color: #526078;
}

@media(max-width:599px) {
  .hmskills-site .hm-brand {
    width: 140px;
  }

  .hmskills-site .hm-brand img {
    width: 140px;
    height: 62px;
  }

  .hmskills-site .hm-brand .hm-logo-tagline {
    font-size: 7px;
  }
}

@media(max-width:359px) {
  .hmskills-site .hm-brand {
    width: 130px;
  }

  .hmskills-site .hm-brand img {
    width: 130px;
    height: 58px;
  }

  .hmskills-site .hm-brand .hm-logo-tagline {
    font-size: 6.5px;
  }
}

/* Match the image box to the logo aspect ratio to avoid empty space above the tagline. */
.hmskills-site .hm-brand img {
  width: 160px;
  height: auto;
  aspect-ratio: 914 / 392;
  display: block;
}

.hmskills-site .hm-brand .hm-logo-tagline {
  margin-top: -5px;
}

@media(max-width:599px) {
  .hmskills-site .hm-brand img {
    width: 140px;
    height: auto;
  }
}

@media(max-width:359px) {
  .hmskills-site .hm-brand img {
    width: 130px;
    height: auto;
  }
}

/* Guest guidance: location, recoverable course search and quick admissions answers. */
.hm-guest-location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
  font-size: 11px;
  color: #526078;
}

.hm-guest-location>i {
  color: #ea580c;
}

.hm-guest-location strong {
  color: #17315b;
  font-weight: 650;
}

.hm-guest-location a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 5px;
  color: #1d4ed8;
  font-weight: 650;
}

.hmskills-site #hm-courses .hm-course-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

#hm-courses .hm-course-search input {
  min-width: 0;
  flex: 1;
  width: 100%;
}

#hm-courses .hm-course-search input::-webkit-search-cancel-button {
  display: none;
}

#hm-courses .hm-course-search-clear {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: #e8eff8;
  color: #475569;
  font-size: 10px;
}

#hm-courses .hm-course-search-clear:hover {
  color: #1d4ed8;
  background: #dbeafe;
}

#hm-courses .hm-course-reset {
  border: 0;
  background: transparent;
  color: #1d4ed8;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hmskills-site .hm-home-questions {
  padding: 30px 0;
  background: #fff;
  border-bottom: 1px solid #e2eaf4;
}

.hm-home-questions-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: 55px;
}

.hm-home-questions-intro .hm-kicker {
  color: #c45b0b;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 1.3px;
}

.hmskills-site .hm-home-questions h2 {
  margin: 9px 0 12px;
  color: #c45b0b;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.6px;
}

.hm-home-questions h2 em {
  color: #1d4ed8;
  font-style: normal;
}

.hm-home-questions-intro p {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 16px;
}

.hm-home-question-list {
  display: grid;
  gap: 9px;
}

.hm-home-question-list details {
  border: 1px solid #dce6f2;
  border-radius: 12px;
  background: #f8fbff;
  overflow: hidden;
}

.hm-home-question-list summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  color: #17315b;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.hm-home-question-list summary::-webkit-details-marker {
  display: none;
}

.hm-question-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  color: #c45b0b;
  background: #fff1df;
  border-radius: 8px;
  font-size: 12px;
}

.hm-question-toggle {
  margin-left: auto;
  color: #1d4ed8;
  font-size: 10px;
  transition: transform .2s;
}

.hm-home-question-list details[open] {
  background: #fff;
  border-color: #bfdbfe;
}

.hm-home-question-list details[open] .hm-question-toggle {
  transform: rotate(45deg);
}

.hm-home-question-list details p {
  color: #526078;
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
  padding: 0 16px 15px 54px;
}

.hm-home-question-list a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hm-home-question-list summary:focus-visible,
.hm-home-questions a:focus-visible,
#hm-courses .hm-course-search-clear:focus-visible,
#hm-courses .hm-course-reset:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

#hm-courses,
.hm-home-questions {
  scroll-margin-top: 105px;
}

@media(max-width:767px) {
  .hm-home-questions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hmskills-site .hm-home-questions {
    padding: 24px 0;
  }

  .hmskills-site .hm-home-questions h2 {
    font-size: 25px;
  }

  .hm-home-question-list summary {
    font-size: 12px;
    padding: 10px 12px;
    gap: 9px;
  }

  .hm-home-question-list details p {
    padding-left: 50px;
  }
}

@media(max-width:599px) {
  .hm-guest-location {
    gap: 6px;
    font-size: 10px;
  }

  .hm-guest-location a {
    margin-left: 0;
  }
}

@media(prefers-reduced-motion:no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Restore the earlier blue HM mark with its compact tagline below. */
.hmskills-site .hm-brand img {
  width: 60px;
  height: 60px;
  aspect-ratio: 1;
  border-radius: 13px;
  background: transparent;
  box-shadow: 0 3px 9px #2563eb18;
}

.hmskills-site .hm-brand .hm-logo-tagline {
  margin-top: 4px;
}

.hmskills-site #hm-courses .hm-course-card[data-hm-category="technology"] {
  background: radial-gradient(circle at 100% 0, #eaf2ff, transparent 65%), #fff;
}

.hmskills-site .hm-home-questions h2 {
  font-size: 30px;
}

@media(max-width:599px) {
  .hmskills-site .hm-brand img {
    width: 52px;
    height: 52px;
  }

  .hmskills-site .hm-brand .hm-logo-tagline {
    margin-top: 3px;
  }

  .hmskills-site .hm-home-questions h2 {
    font-size: 25px;
  }
}

/* Institute name above the tagline, both beside the blue HM logo. */
.hmskills-site .hm-brand {
  width: auto;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 23px;
}

.hmskills-site .hm-brand .hm-logo-tagline {
  width: auto;
  margin-top: 2px;
  text-align: left;
  font-size: 11px;
  line-height: 1.3;
}

.hmskills-site .hm-header-inner {
  min-height: 80px;
}

@media(max-width:599px) {
  .hmskills-site .hm-brand {
    width: auto;
    gap: 7px;
    font-size: 18px;
  }

  .hmskills-site .hm-brand img {
    width: 48px;
    height: 48px;
  }

  .hmskills-site .hm-brand .hm-logo-tagline {
    font-size: 9px;
    margin-top: 2px;
  }

  .hmskills-site .hm-header-inner {
    min-height: 74px;
  }
}

/* Blue institute name in the guest header. */
.hmskills-site .hm-header .hm-brand {
  color: #1d4ed8 !important;
}

/* Comfortable navigation targets on phones and touch devices. */
@media(max-width:1199px) {
  .hmskills-site .hm-menu-toggle {
    width: 44px;
    height: 44px;
    padding: 11px;
    flex-shrink: 0;
  }
}

@media(pointer:coarse) {
  .hm-feedback-section .hm-feedback-arrows button {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .hm-feedback-section .hm-feedback-dots {
    gap: 0;
  }

  .hm-feedback-section .hm-feedback-dots button {
    position: relative;
    width: 24px;
    height: 44px;
    background: transparent;
  }

  .hm-feedback-section .hm-feedback-dots button::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    top: 19px;
    left: 9px;
    border-radius: 999px;
    background: #cbd5e1;
  }

  .hm-feedback-section .hm-feedback-dots button[aria-current=true] {
    width: 24px;
    background: transparent;
  }

  .hm-feedback-section .hm-feedback-dots button[aria-current=true]::after {
    width: 18px;
    left: 3px;
    background: #ea580c;
  }

  .hm-feedback-section .hm-feedback-controls {
    flex-wrap: wrap;
    gap: 4px;
  }
}

/* Match the hero background below the overview strip, with decorative section dividers. */
.hmskills-site .hm-home {
  --hm-section-background: radial-gradient(ellipse at 90% 15%, #0872ff 0, #ef560c00 55%), linear-gradient(115deg, #ffa22e, #f8fbff 55%, #eff6ff);
}

.hmskills-site .hm-home>.hm-proof-strip~section,
.hmskills-site .hm-home>section#hm-courses {
  background: var(--hm-section-background);
}

.hmskills-site .hm-home>section {
  border-top: 0;
  border-bottom: 0;
}

.hmskills-site .hm-home>section+section {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, #fed7aa 18%, #ea580c 40%, #3b82f6 60%, #bfdbfe 82%, transparent 100%) 1;
}

/* Dark course catalogue: compact banner and raised syllabus cards. */
.hmskills-site .hm-catalog {
  background: #0c182b;
  color: #eaf2ff;
}

.hm-catalog-banner {
  padding: 23px 0;
  background: radial-gradient(ellipse at 90% 0, #254f86, transparent 65%), linear-gradient(120deg, #12233d, #183358);
  border-bottom: 1px solid #355376;
}

.hm-catalog-banner-inner {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 35px;
  align-items: center;
}

.hm-catalog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
  font-size: 10px;
  color: #b4c6dd;
}

.hm-catalog-breadcrumb a {
  color: #b4c6dd;
}

.hm-catalog-breadcrumb li+li::before {
  content: '/';
  margin-right: 10px;
  color: #7792b5;
}

.hm-catalog-eyebrow {
  display: block;
  color: #fdba74;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.hmskills-site .hm-catalog h1 {
  margin: 7px 0 9px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.7px;
  color: #fff;
  text-shadow: 0 2px 0 #071329, 0 5px 12px #0003;
}

.hm-catalog h1 em {
  color: #93c5fd;
  font-style: normal;
}

.hm-catalog-banner p {
  margin: 0;
  max-width: 780px;
  font-size: 12px;
  line-height: 1.75;
  color: #bfd0e5;
}

.hm-catalog-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 19px 12px;
  color: #bfdbfe;
  border: 1px solid #5785bf66;
  border-radius: 17px;
  background: linear-gradient(145deg, #305f97, #163353);
  box-shadow: 0 5px 0 #07172e, 0 12px 25px #0002, inset 0 1px 0 #ffffff28;
}

.hm-catalog-emblem>i {
  font-size: 27px;
  color: #fdba74;
  text-shadow: 0 2px 0 #7c3e17;
}

.hm-catalog-emblem>span {
  font-size: 11px;
  font-weight: 650;
}

.hm-catalog-content {
  padding: 24px 0 30px;
}

.hm-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 19px;
}

.hmskills-site .hm-catalog-toolbar h2 {
  margin: 0;
  font-size: 18px;
  color: #f1f6ff;
}

.hm-catalog-toolbar p {
  margin: 5px 0 0;
  font-size: 10px;
  color: #a8bed9;
}

.hm-catalog-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 300px;
  padding: 9px 12px;
  border: 1px solid #355376;
  border-radius: 999px;
  background: #152940;
  color: #93c5fd;
}

.hm-catalog-search input {
  min-width: 0;
  flex: 1;
  width: 100%;
  color: #edf5ff;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 12px;
}

.hm-catalog-search input::placeholder {
  color: #a8bed9;
}

.hm-catalog-search input::-webkit-search-cancel-button {
  display: none;
}

.hm-catalog-search button {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border: 0;
  border-radius: 50%;
  color: #dbeafe;
  background: #294464;
  padding: 0;
  font-size: 10px;
}

.hm-catalog-search:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px #3b82f625;
}

.hm-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hm-catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 17px;
  background: linear-gradient(140deg, #1d3655, #13253d);
  border: 1px solid #355376;
  border-top: 2px solid #5789bf;
  border-radius: 16px;
  box-shadow: 0 5px 0 #071426, 0 10px 19px #0002, inset 0 1px 0 #ffffff09;
  transition: transform .2s, border-color .2s;
}

.hm-catalog-card:hover {
  transform: translateY(-3px);
  border-color: #60a5fa;
}

.hm-catalog-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hm-catalog-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: #fdba74;
  border: 1px solid #6287b05c;
  border-radius: 10px;
  background: linear-gradient(145deg, #325782, #172e4d);
  box-shadow: 0 3px 0 #08182d;
  font-size: 15px;
}

.hm-catalog-category {
  font-size: 9px;
  color: #b4cbee;
  line-height: 1.4;
  flex: 1;
}

.hm-catalog-number {
  color: #7796ba;
  font-size: 11px;
  font-weight: 700;
}

.hmskills-site .hm-catalog-card h3 {
  margin: 12px 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.2px;
}

.hm-catalog-card h3 a {
  color: #fff;
}

.hm-catalog-card h3 a:hover {
  color: #fdba74;
}

.hm-catalog-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid #7296bf26;
  border-radius: 10px;
  background: #091a3066;
}

.hm-catalog-facts>div {
  min-width: 0;
}

.hm-catalog-facts span {
  display: block;
  color: #a8bed9;
  font-size: 9px;
  margin-bottom: 4px;
}

.hm-catalog-facts span i {
  margin-right: 3px;
}

.hm-catalog-facts strong {
  display: block;
  font-size: 12px;
  color: #e2efff;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hm-catalog-facts>div:last-child strong {
  color: #fdba74;
}

.hm-catalog-topics {
  flex: 1;
  margin-top: 13px;
}

.hmskills-site .hm-catalog-topics h4 {
  margin: 0 0 8px;
  color: #d4e4f8;
  font-size: 10px;
  font-weight: 650;
}

.hm-catalog-topics ul {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hm-catalog-topics li {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  color: #b6cbe4;
  font-size: 11px;
  line-height: 1.6;
}

.hm-catalog-topics li i {
  color: #93c5fd;
  margin-top: 4px;
  font-size: 8px;
  flex-shrink: 0;
}

.hm-catalog-topics li span {
  overflow-wrap: anywhere;
}

.hm-catalog-topics p {
  margin: 0;
  color: #b6cbe4;
  font-size: 11px;
  line-height: 1.7;
}

.hm-catalog-more-topics {
  display: inline-block;
  margin-top: 8px;
  color: #93c5fd;
  font-size: 10px;
}

.hm-catalog-more-topics:hover {
  color: #fdba74;
}

.hm-catalog-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #7296bf26;
}

.hmskills-site .hm-catalog .hm-catalog-details {
  color: #fff !important;
  background: #245dbe;
  border-color: #457fd5;
  min-height: 32px;
  padding: 6px 12px;
  font-size: 11px;
  box-shadow: 0 3px 0 #0a2755;
  gap: 8px;
}

.hmskills-site .hm-catalog .hm-catalog-details:hover {
  background: #2563eb;
}

.hm-catalog-enquire {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fdba74;
  font-size: 11px;
  font-weight: 650;
}

.hm-catalog-enquire i {
  transform: rotate(45deg);
  font-size: 10px;
}

.hm-catalog-enquire:hover {
  color: #fff;
}

.hm-catalog-empty {
  padding: 30px 15px;
  text-align: center;
  color: #b6cbe4;
  border: 1px dashed #45658b;
  border-radius: 14px;
}

.hmskills-site .hm-catalog-empty h3 {
  font-size: 18px;
  color: #fff;
  margin: 10px 0;
}

.hm-catalog-empty p {
  font-size: 12px;
}

.hm-catalog-empty a {
  color: #93c5fd;
}

.hm-catalog-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: 20px 23px;
  border: 1px solid #355376;
  border-left: 3px solid #f59c42;
  border-radius: 14px;
  background: linear-gradient(115deg, #1d3655, #172b45);
}

.hm-catalog-callout>div>span {
  color: #fdba74;
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
}

.hmskills-site .hm-catalog-callout h2 {
  color: #fff;
  font-size: 21px;
  margin: 7px 0;
}

.hm-catalog-callout p {
  font-size: 12px;
  color: #b6cbe4;
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}

.hm-catalog-callout-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  flex-shrink: 0;
}

.hmskills-site .hm-catalog .hm-catalog-contact {
  color: #dbeafe !important;
  border-color: #45658b;
  background: #13253d;
}

.hm-catalog a:focus-visible,
.hm-catalog button:focus-visible {
  outline: 2px solid #fdba74;
  outline-offset: 4px;
}

@media(min-width:1440px) {
  .hm-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media(max-width:991px) {
  .hm-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:599px) {
  .hm-catalog-banner {
    padding: 18px 0;
  }

  .hm-catalog-banner-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hm-catalog-emblem {
    display: none;
  }

  .hmskills-site .hm-catalog h1 {
    font-size: 25px;
  }

  .hm-catalog-banner p {
    font-size: 11px;
  }

  .hm-catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hm-catalog-search {
    width: 100%;
  }

  .hm-catalog-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hm-catalog-card {
    padding: 15px;
  }

  .hm-catalog-callout {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    padding: 18px;
  }

  .hm-catalog-callout-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hm-catalog-callout-actions .hm-button {
    flex: 1;
    white-space: nowrap;
  }
}

/* Maintain readable links and a single focus ring on the dark catalogue. */
.hmskills-site .hm-catalog .hm-catalog-more-topics,
.hmskills-site .hm-catalog .hm-catalog-empty a {
  color: #93c5fd;
}

.hmskills-site .hm-catalog .hm-catalog-enquire {
  color: #fdba74;
}

.hmskills-site .hm-catalog .hm-catalog-enquire:hover,
.hmskills-site .hm-catalog .hm-catalog-more-topics:hover {
  color: #fff;
}

.hmskills-site .hm-catalog-search input:focus-visible {
  outline: none;
}

/* Centered photo banner, inspired by the reference hero, in the footer's navy palette. */
.hmskills-site .hm-catalog {
  background: radial-gradient(ellipse at 90% 0, #193f6d 0, transparent 65%), #12233d;
  color: #edf5ff;
}

.hmskills-site .hm-catalog-banner {
  padding: 17px 0 19px;
  background: linear-gradient(100deg, #12233df0, #193f6de8), url('../images/hmskills-institute.jpg') center 42% / cover;
  border-bottom: 1px solid #55769c;
}

.hm-catalog-banner-inner {
  display: block;
  text-align: center;
}

.hm-catalog-breadcrumb {
  justify-content: center;
  margin-bottom: 10px;
  color: #d6e5f7;
}

.hmskills-site .hm-catalog .hm-catalog-breadcrumb a {
  color: #d6e5f7;
}

.hm-catalog-breadcrumb li+li::before {
  color: #9db8d8;
}

.hm-catalog-eyebrow {
  color: #fdba74;
  font-size: 9px;
  letter-spacing: 1.6px;
}

.hmskills-site .hm-catalog h1 {
  margin: 6px 0 7px;
  font-size: 28px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 1px #08182d;
}

.hm-catalog h1 em {
  color: #c2deff;
}

.hmskills-site .hm-catalog-banner p {
  max-width: 790px;
  margin: 0 auto;
  color: #e0ecfa;
  font-size: 12px;
  line-height: 1.6;
}

.hm-catalog-card {
  background: linear-gradient(140deg, #23466e, #172e4b);
  border-color: #4a6f97;
  border-top-color: #729dc9;
  box-shadow: 0 4px 0 #0b1b30, 0 9px 17px #06132133, inset 0 1px 0 #ffffff10;
}

.hm-catalog-facts {
  background: #10243b;
  border-color: #4e73974d;
}

.hm-catalog-facts span {
  color: #c3d6ee;
}

.hm-catalog-topics li,
.hm-catalog-topics p {
  color: #d0e0f3;
}

.hmskills-site .hm-catalog-toolbar p {
  color: #c7d9ef;
}

.hm-catalog-number {
  color: #a8c6e5;
}

.hm-catalog-category {
  color: #d0e0f3;
}

.hm-catalog-card-actions {
  border-color: #7398be55;
}

.hm-catalog-callout {
  background: linear-gradient(115deg, #23466e, #173250);
  border-color: #4a6f97;
  border-left-color: #f59c42;
}

.hmskills-site .hm-catalog-callout p {
  color: #d0e0f3;
}

.hm-catalog-search {
  background: #173250;
  border-color: #557ba5;
}

.hm-catalog-search input::placeholder {
  color: #c7d9ef;
}

@media(max-width:599px) {
  .hmskills-site .hm-catalog-banner {
    padding: 15px 0 17px;
  }

  .hmskills-site .hm-catalog h1 {
    font-size: 24px;
  }

  .hmskills-site .hm-catalog-banner p {
    font-size: 11px;
  }

  .hm-catalog-breadcrumb {
    margin-bottom: 8px;
  }
}

/* One continuous footer-matched catalogue canvas and plain banner. */
.hmskills-site.hm-catalog-page .hm-catalog,
.hmskills-site.hm-catalog-page .hm-footer-refresh {
  background: #12233d;
}

.hmskills-site.hm-catalog-page .hm-catalog-banner {
  background: #12233d;
  border-bottom-color: #355376;
}

.hmskills-site.hm-catalog-page .hm-catalog-card {
  background: #172b45;
  border-color: #3c5b7e;
  border-top-color: #648bb5;
}

.hmskills-site.hm-catalog-page .hm-catalog-facts {
  background: #12233d;
}

.hmskills-site.hm-catalog-page .hm-catalog-search,
.hmskills-site.hm-catalog-page .hm-catalog-callout {
  background: #172b45;
}

.hmskills-site.hm-catalog-page .hm-footer-refresh {
  border-top-color: #355376;
}

/* Reference-style charcoal background, without its model image. */
.hmskills-site.hm-catalog-page .hm-catalog,
.hmskills-site.hm-catalog-page .hm-catalog-banner,
.hmskills-site.hm-catalog-page .hm-footer-refresh {
  background: #1b2228 linear-gradient(110deg, #34383c, #151d22);
}

.hmskills-site.hm-catalog-page .hm-catalog-card {
  background: linear-gradient(140deg, #30373e, #232b32);
  border-color: #505d69;
  border-top-color: #778998;
  box-shadow: 0 4px 0 #11171d, 0 9px 17px #0003;
}

.hmskills-site.hm-catalog-page .hm-catalog-facts {
  background: #1b232b;
  border-color: #52617066;
}

.hmskills-site.hm-catalog-page .hm-catalog-icon {
  background: linear-gradient(145deg, #414c57, #29343f);
  border-color: #657483;
  box-shadow: 0 3px 0 #182028;
}

.hmskills-site.hm-catalog-page .hm-catalog-search,
.hmskills-site.hm-catalog-page .hm-catalog-callout {
  background: #29323b;
  border-color: #526170;
}

.hmskills-site.hm-catalog-page .hm-catalog-banner,
.hmskills-site.hm-catalog-page .hm-footer-refresh {
  border-color: #526170;
}

/* Restore the original blue footer on the courses page. */
.hmskills-site.hm-catalog-page .hm-footer-refresh {
  background: radial-gradient(ellipse at 90% 0, #193f6d 0, transparent 65%), #12233d;
  border-top: 3px solid #ea580c;
}

/* Restore blue course and enquiry boxes against the charcoal page background. */
.hmskills-site.hm-catalog-page .hm-catalog-card {
  background: #172b45;
  border-color: #3c5b7e;
  border-top-color: #648bb5;
  box-shadow: 0 4px 0 #0b1b30, 0 9px 17px #06132133, inset 0 1px 0 #ffffff10;
}

.hmskills-site.hm-catalog-page .hm-catalog-facts {
  background: #12233d;
  border-color: #4e73974d;
}

.hmskills-site.hm-catalog-page .hm-catalog-icon {
  background: linear-gradient(145deg, #325782, #172e4d);
  border-color: #6287b05c;
  box-shadow: 0 3px 0 #08182d;
}

.hmskills-site.hm-catalog-page .hm-catalog-search {
  background: #173250;
  border-color: #557ba5;
}

.hmskills-site.hm-catalog-page .hm-catalog-callout {
  background: #172b45;
  border-color: #4a6f97;
  border-left-color: #f59c42;
}

/* Original generated landscape with a dark overlay; no reference-site assets. */
.hmskills-site.hm-catalog-page .hm-catalog {
  background-color: #12233d;
  background-image: linear-gradient(180deg, #10223599 0, #102235bb 360px, #12233df5 740px, #12233d 920px), url('../images/hmskills-course-landscape.webp');
  background-size: 100% 950px, auto 950px;
  background-position: center top, center -120px;
  background-repeat: no-repeat;
}

.hmskills-site.hm-catalog-page .hm-catalog-banner {
  display: flex;
  align-items: center;
  min-height: 190px;
  padding: 22px 0;
  background: transparent;
  border-bottom-color: #a6c8eb33;
}

.hmskills-site.hm-catalog-page .hm-catalog-banner h1 {
  color: #fff;
  text-shadow: 0 2px 12px #0008;
}

.hmskills-site.hm-catalog-page .hm-catalog-banner p {
  color: #f0f5fb;
  text-shadow: 0 1px 6px #0006;
}

.hmskills-site.hm-catalog-page .hm-catalog-banner .hm-catalog-breadcrumb,
.hmskills-site.hm-catalog-page .hm-catalog-banner .hm-catalog-breadcrumb a {
  color: #edf5ff;
}

@media(max-width:599px) {
  .hmskills-site.hm-catalog-page .hm-catalog {
    background-size: 100% 750px, auto 750px;
    background-position: center top, center -50px;
  }

  .hmskills-site.hm-catalog-page .hm-catalog-banner {
    min-height: 190px;
    padding: 18px 0;
  }
}

/* Brighter landscape behind the catalogue heading and course count. */
.hmskills-site.hm-catalog-page .hm-catalog {
  background-image: linear-gradient(180deg, #10223555 0, #10223566 360px, #12233dcc 740px, #12233d 1080px), url('../images/hmskills-course-landscape.webp');
  background-size: 100% 1120px, auto 1120px;
  background-position: center top, center -120px;
}

.hmskills-site.hm-catalog-page .hm-catalog-toolbar {
  background: transparent;
}

.hmskills-site.hm-catalog-page .hm-catalog-toolbar h2 {
  color: #fff;
  text-shadow: 0 2px 8px #08182d;
}

.hmskills-site.hm-catalog-page .hm-catalog-toolbar p {
  color: #f1f6ff;
  text-shadow: 0 1px 6px #08182d;
}

@media(max-width:599px) {
  .hmskills-site.hm-catalog-page .hm-catalog {
    background-size: 100% 950px, auto 950px;
    background-position: center top, center -50px;
  }
}

/* Keep the scenic backdrop visible throughout the catalogue, clipped above the footer. */
.hmskills-site.hm-catalog-page .hm-catalog {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  background: #12233d;
}

.hmskills-site.hm-catalog-page .hm-catalog::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(#10223566, #10223566), url('../images/hmskills-course-landscape.webp') center / cover no-repeat;
}

.hmskills-site.hm-catalog-page .hm-catalog-banner {
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, #ea580c, #fdba74 30%, #93c5fd 70%, #2563eb) 1;
}

/* Scenic backgrounds for about, trainees, FAQs, contact and guest account forms. */
.hmskills-site.hm-scenic-page .hm-content {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  background: #12233d;
  color: #edf5ff;
  padding-bottom: 24px;
}

.hmskills-site.hm-scenic-page .hm-content::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(#10223599, #10223599), url('../images/hmskills-course-landscape.webp') center / cover no-repeat;
}

.hmskills-site.hm-scenic-page .hm-content>.hm-section,
.hmskills-site.hm-scenic-page .hm-auth {
  background: transparent;
}

.hmskills-site.hm-scenic-page .hm-page-banner {
  background: transparent !important;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #ea580c, #fdba74 30%, #93c5fd 70%, #2563eb) 1;
  text-align: center;
}

.hmskills-site.hm-scenic-page .hm-page-banner h1,
.hmskills-site.hm-scenic-page .hm-section-title {
  color: #fff !important;
  text-shadow: 0 2px 8px #08182d;
}

.hmskills-site.hm-scenic-page .hm-page-banner .breadcrumb {
  justify-content: center;
}

.hmskills-site.hm-scenic-page .hm-page-banner .breadcrumb a,
.hmskills-site.hm-scenic-page .hm-page-banner .breadcrumb-item,
.hmskills-site.hm-scenic-page .hm-page-banner .breadcrumb-item::before {
  color: #e0ecfa !important;
}

.hmskills-site.hm-scenic-page .hm-content .hm-eyebrow {
  color: #fdba74;
}

.hmskills-site.hm-scenic-page .hm-hero-grid>div>p,
.hmskills-site.hm-scenic-page .hm-contact-grid>div:first-child>p {
  color: #edf5ff;
  text-shadow: 0 1px 5px #08182d;
}

.hmskills-site.hm-scenic-page .hm-form-card,
.hmskills-site.hm-scenic-page .hm-feature,
.hmskills-site.hm-scenic-page .hm-faq details,
.hmskills-site.hm-scenic-page .register-card,
.hmskills-site.hm-scenic-page .trainee-card-compact,
.hmskills-site.hm-scenic-page .hm-search-panel,
.hmskills-site.hm-scenic-page .hm-auth-card {
  background: #fff;
  color: #172b4d;
  border-color: #dce6f2;
  box-shadow: 0 8px 24px #08182d26;
}

.hmskills-site.hm-scenic-page .hm-form-card p,
.hmskills-site.hm-scenic-page .hm-feature p,
.hmskills-site.hm-scenic-page .hm-faq details p,
.hmskills-site.hm-scenic-page .hm-auth-card p {
  color: #526078;
}

.hmskills-site.hm-scenic-page .hm-form-card h1,
.hmskills-site.hm-scenic-page .hm-form-card h2,
.hmskills-site.hm-scenic-page .hm-feature h3,
.hmskills-site.hm-scenic-page .hm-auth-card h1,
.hmskills-site.hm-scenic-page .hm-auth-card h2,
.hmskills-site.hm-scenic-page .hm-faq summary {
  color: #17315b;
  text-shadow: none;
}

.hmskills-site.hm-scenic-page .hm-auth {
  min-height: 100vh;
}

.hmskills-site.hm-scenic-page .hm-auth-art {
  background: #eff6ff;
}

.hmskills-site.hm-scenic-page .hm-auth-art .hm-brand {
  color: #1d4ed8 !important;
}

.hmskills-site.hm-scenic-page .register-card label,
.hmskills-site.hm-scenic-page .hm-form-card label,
.hmskills-site.hm-scenic-page .hm-auth-form label {
  color: #17315b;
}

.hmskills-site.hm-scenic-page .hm-content .form-control {
  color: #172b4d;
  background-color: #fff;
}

.hmskills-site.hm-scenic-page .hm-content .form-control::placeholder {
  color: #64748b;
  opacity: 1;
}

.hmskills-site.hm-scenic-page .hm-content .invalid-feedback,
.hmskills-site.hm-scenic-page .hm-content .help-block {
  color: #b91c1c;
}

@media(max-width:599px) {
  .hmskills-site.hm-scenic-page .hm-page-banner {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* Dark orange labels remain readable inside white form panels. */
.hmskills-site.hm-scenic-page .hm-content .hm-form-card .hm-eyebrow,
.hmskills-site.hm-scenic-page .hm-content .hm-auth-form .hm-eyebrow {
  color: #9a450b;
}

/* Light trainee profiles with clear, consistently aligned details. */
.hmskills-site .hm-trainees-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: 8px;
  border: 1px solid #ffffff66;
  border-radius: 14px;
  background: #ffffff1f;
  color: #fdba74;
  font-size: 25px;
  vertical-align: middle;
}

.hmskills-site .hm-trainees-page .search-container {
  max-width: none;
  padding: 20px 0 0;
}

.hmskills-site .hm-trainees-page .search-box-container {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #dce6f2;
}

.hmskills-site .hm-trainees-page .search-container .mt-3 {
  margin-top: 0 !important;
}

.hmskills-site .hm-trainees-page .search-box {
  align-items: start;
}

.hmskills-site .hm-trainees-page .search-input-auto {
  min-height: 46px;
  border-radius: 24px;
  padding-left: 18px;
}

.hmskills-site .hm-trainees-page .search-btn {
  min-height: 46px;
  border-radius: 24px;
  padding: 10px 20px;
  white-space: nowrap;
}

.hmskills-site.hm-scenic-page .hm-trainees-page .trainee-card-compact {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
  padding: 20px 16px 16px;
  background: #eff6ff;
  color: #172b4d;
  border: 1px solid #d5e4f5;
  border-top: 3px solid #fb923c;
  border-radius: 20px;
  box-shadow: 0 8px 24px #08182d26;
}

.hmskills-site .hm-trainees-page .trainee-img-compact {
  flex: none;
  width: 104px;
  height: 104px;
  margin: 0 auto 14px;
  padding: 4px;
  background: #fff;
  border: 1px solid #c7dbf3;
  border-radius: 50%;
  box-shadow: 0 4px 12px #1d4ed81a;
}

.hmskills-site .hm-trainees-page .trainee-img-compact img {
  display: block;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  object-fit: cover;
}

.hmskills-site .hm-trainees-page .trainee-info-compact {
  padding: 0;
  min-width: 0;
}

.hmskills-site .hm-trainees-page .trainee-name {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #17315b;
  text-align: center;
  overflow-wrap: anywhere;
}

.hmskills-site .hm-trainees-page .trainee-name>i {
  flex: none;
  color: #2563eb;
  font-size: 14px;
}

.hmskills-site .hm-trainees-page .trainee-meta {
  padding-top: 4px;
  border-top: 1px solid #cddff2;
}

.hmskills-site .hm-trainees-page .meta-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  margin: 0;
  padding: 9px 0;
  font-size: 12px;
  line-height: 1.6;
  border-bottom: 1px solid #d8e6f4;
}

.hmskills-site .hm-trainees-page .meta-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hmskills-site .hm-trainees-page .meta-row strong {
  min-width: 0;
  color: #365371;
  font-weight: 600;
}

.hmskills-site .hm-trainees-page .meta-row strong i {
  display: inline-block;
  width: 16px;
  color: #2563eb;
}

.hmskills-site .hm-trainees-page .meta-row>span {
  min-width: 0;
  color: #172b4d;
  overflow-wrap: anywhere;
}

.hmskills-site .hm-trainees-page .trainee-time {
  color: #17315b;
  font-weight: 600;
}

.hmskills-site .hm-trainees-page .pagination {
  width: 100%;
  flex-wrap: wrap;
  gap: 4px;
}

.hmskills-site .hm-trainees-page .empty {
  margin: 0 15px;
  padding: 24px;
  width: 100%;
  background: #eff6ff;
  color: #17315b;
  border-radius: 16px;
  text-align: center;
}

@media(max-width:575px) {
  .hmskills-site .hm-trainees-title-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
    border-radius: 11px;
  }

  .hmskills-site .hm-trainees-page .search-box-container {
    padding: 10px;
  }

  .hmskills-site .hm-trainees-page .search-btn {
    min-width: 84px;
    padding: 10px 12px;
  }

  .hmskills-site .hm-trainees-page .search-input-auto {
    font-size: 12px;
    padding-left: 12px;
  }

  .hmskills-site .hm-trainees-page .meta-row {
    grid-template-columns: 82px minmax(0, 1fr);
    font-size: 13px;
  }
}

.hmskills-site .hm-trainees-page .search-btn {
  background: #2563eb !important;
  min-height: 46px !important;
}

/* Homepage-style explorer controls and navy trainee cards. */
.hmskills-site .hm-trainees-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.hmskills-site .hm-trainees-controls h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.hmskills-site .hm-trainees-controls h2>i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff1df;
  color: #9a450b;
  font-size: 15px;
}

.hmskills-site .hm-trainees-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 280px;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  background: #f8fafc;
  padding: 7px 11px;
  color: #1d4ed8;
}

.hmskills-site .hm-trainees-search:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px #dbeafe;
}

.hmskills-site .hm-trainees-search input {
  min-width: 0;
  flex: 1;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  color: #17315b;
  outline: none;
}

.hmskills-site .hm-trainees-search input::-webkit-search-cancel-button {
  display: none;
}

.hmskills-site .hm-trainees-search button {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8eff8;
  color: #475569;
  font-size: 11px;
}

.hmskills-site .hm-trainees-count {
  color: #edf5ff;
  font-size: 12px;
  margin: 0 0 16px;
}

.hmskills-site.hm-scenic-page .hm-trainees-page .trainee-card-compact {
  background: linear-gradient(145deg, #1b3657, #12233d);
  color: #edf5ff;
  border-color: #45658a;
  border-top-color: #fb923c;
  box-shadow: 0 4px 0 #0b1b30, 0 9px 20px #06132140;
}

.hmskills-site .hm-trainees-page .trainee-img-compact {
  background: #e5efff;
  border-color: #86a9d8;
}

.hmskills-site .hm-trainees-page .trainee-name {
  color: #fff;
}

.hmskills-site .hm-trainees-page .trainee-name>i {
  color: #fdba74;
}

.hmskills-site .hm-trainees-page .trainee-meta {
  border-color: #446183;
}

.hmskills-site .hm-trainees-page .meta-row {
  border-color: #385574;
}

.hmskills-site .hm-trainees-page .meta-row strong {
  color: #c5d9f1;
}

.hmskills-site .hm-trainees-page .meta-row strong i {
  color: #93c5fd;
}

.hmskills-site .hm-trainees-page .meta-row>span,
.hmskills-site .hm-trainees-page .trainee-time {
  color: #f1f6ff;
}

.hmskills-site .hm-trainees-more {
  margin-top: 16px;
}

.hmskills-site .hm-trainees-more .hm-button {
  min-height: 40px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 12px;
}

.hmskills-site .hm-trainees-more .hm-button-secondary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.hmskills-site .hm-trainees-more .hm-stage-secondary {
  background: #fff;
  color: #17315b !important;
  border-color: #d2e2f6;
}

.hmskills-site .hm-trainees-more .hm-stage-secondary:hover {
  background: #eef2ff;
}

.hmskills-site .hm-trainees-search button:focus-visible,
.hmskills-site .hm-trainees-more .hm-button:focus-visible {
  outline: 2px solid #fdba74;
  outline-offset: 3px;
}

@media(max-width:575px) {
  .hmskills-site .hm-trainees-controls {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .hmskills-site .hm-trainees-controls h2 {
    font-size: 16px;
  }

  .hmskills-site .hm-trainees-search {
    width: 100%;
    min-height: 44px;
  }

  .hmskills-site .hm-trainees-more {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hmskills-site .hm-trainees-more .hm-button {
    min-height: 44px;
  }
}

/* White trainee actions and the original orange footer border across guest pages. */
.hmskills-site .hm-trainees-more .hm-button-secondary {
  background: #fff;
  color: #17315b !important;
  border-color: #d2e2f6;
  box-shadow: none;
}

.hmskills-site .hm-trainees-more .hm-button-secondary:hover {
  background: #eef2ff;
  border-color: #d2e2f6;
}

.hmskills-site .hm-footer.hm-footer-refresh {
  border-top: 3px solid #ea580c;
  border-image: none;
}

/* Match FAQ toggles to the homepage's right-aligned plus icons. */
.hmskills-site .hm-faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.hmskills-site .hm-faq summary::-webkit-details-marker {
  display: none;
}

.hmskills-site .hm-faq summary::marker {
  content: '';
}

.hmskills-site .hm-faq summary>span {
  min-width: 0;
  flex: 1;
}

.hmskills-site .hm-faq .hm-question-toggle {
  flex: none;
}

.hmskills-site .hm-faq details[open] .hm-question-toggle {
  transform: rotate(45deg);
}

.hmskills-site .hm-faq summary:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
  border-radius: 4px;
}

@media(prefers-reduced-motion:reduce) {
  .hmskills-site .hm-faq .hm-question-toggle {
    transition: none;
  }
}

/* Trainee title and breadcrumb follow the header's icon-and-text arrangement. */
.hmskills-site .hm-trainees-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hmskills-site .hm-trainees-heading .hm-trainees-title-icon {
  flex: none;
  width: 76px;
  height: 76px;
  margin: 0;
  border-radius: 20px;
  font-size: 40px;
}

.hmskills-site .hm-trainees-heading-copy {
  min-width: 0;
  text-align: left;
}

.hmskills-site .hm-trainees-heading-copy h1 {
  margin: 0 0 6px;
  line-height: 1.2;
}

.hmskills-site.hm-scenic-page .hm-trainees-heading-copy .breadcrumb {
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

@media(max-width:575px) {
  .hmskills-site .hm-trainees-heading {
    gap: 12px;
  }

  .hmskills-site .hm-trainees-heading .hm-trainees-title-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 32px;
  }

  .hmskills-site .hm-trainees-heading-copy h1 {
    font-size: 26px;
  }
}

/* Shared large-icon headings for About, FAQs and Contact. */
.hmskills-site .hm-page-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hmskills-site .hm-page-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 76px;
  height: 76px;
  border: 1px solid #ffffff66;
  border-radius: 20px;
  background: #ffffff1f;
  color: #fdba74;
  font-size: 40px;
}

.hmskills-site .hm-page-heading-copy {
  min-width: 0;
  text-align: left;
}

.hmskills-site .hm-page-heading-copy h1 {
  margin: 0 0 6px;
  line-height: 1.2;
}

.hmskills-site.hm-scenic-page .hm-page-heading-copy .breadcrumb {
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

/* Remove pale content-section dividers above the footer; retain its orange border. */
.hmskills-site .hm-content>.hm-section {
  border-bottom: 0;
}

@media(max-width:575px) {
  .hmskills-site .hm-page-heading {
    gap: 12px;
  }

  .hmskills-site .hm-page-heading-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 32px;
  }

  .hmskills-site .hm-page-heading-copy h1 {
    font-size: 26px;
  }
}

/* Compact frontend forms without an outer focus halo. */
.hmskills-site input:not([type="checkbox"]):not([type="radio"]):focus,
.hmskills-site textarea:focus,
.hmskills-site select:focus {
  outline: none !important;
  outline-offset: 0;
  box-shadow: none !important;
  border-color: #64748b !important;
}

.hmskills-site .hm-course-search:focus-within,
.hmskills-site .hm-trainees-search:focus-within,
.hmskills-site .hm-catalog-search:focus-within {
  box-shadow: none !important;
  border-color: #64748b !important;
}

.hmskills-site .form-group {
  margin-bottom: 10px;
}

.hmskills-site .form-group>label {
  margin-bottom: 3px;
  line-height: 1.4;
}

.hmskills-site .form-group.required>label:not(.custom-control-label)::after {
  content: ' *';
  color: #b91c1c;
  font-weight: 700;
}

.hmskills-site .form-group .invalid-feedback,
.hmskills-site .form-group .help-block {
  margin: 3px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.35;
}

.hmskills-site .form-group .invalid-feedback:empty,
.hmskills-site .form-group .help-block:empty {
  margin: 0;
}

.hmskills-site .form-control.is-invalid:focus,
.hmskills-site .form-group.has-error .form-control:focus {
  border-color: #b91c1c !important;
}

.hmskills-site .hm-application {
  padding: 24px 0 0;
}

.hmskills-site .hm-application .register-card {
  padding: 24px;
  border: 1px solid #dce6f2;
  border-radius: 20px;
}

.hmskills-site .hm-application textarea.form-control {
  min-height: 92px;
}

.hmskills-site .hm-page-heading-logo {
  padding: 0;
  border: 0;
  background: transparent;
}

.hmskills-site .hm-page-heading-logo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

@media(max-width:575px) {
  .hmskills-site .hm-application .register-card {
    padding: 18px;
  }

  .hmskills-site .hm-page-heading-logo img {
    border-radius: 16px;
  }
}

/* Compact contact card using the login layout, with the guest header and footer. */
.hmskills-site .hm-contact-compact {
  padding: 24px 0;
}

.hmskills-site .hm-contact-card {
  margin: auto;
  grid-template-columns: .85fr 1.15fr;
}

.hmskills-site .hm-contact-aside {
  padding: 26px;
  background: #eff6ff;
  color: #17315b;
}

.hmskills-site .hm-contact-card .hm-contact-aside .hm-eyebrow {
  color: #9a450b;
  margin-bottom: 10px;
}

.hmskills-site .hm-contact-aside h2 {
  margin: 0 0 10px;
  font-size: 27px;
}

.hmskills-site .hm-contact-aside p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.6;
}

.hmskills-site .hm-contact-details {
  display: grid;
  gap: 16px;
}

.hmskills-site .hm-contact-details>a,
.hmskills-site .hm-contact-details>div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #17315b;
  font-size: 13px;
  line-height: 1.5;
}

.hmskills-site .hm-contact-details>a:hover {
  color: #1d4ed8;
}

.hmskills-site .hm-contact-details small {
  display: block;
  margin-bottom: 2px;
  color: #526078;
  font-size: 11px;
}

.hmskills-site .hm-contact-details>*>span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hmskills-site .hm-contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d5e4f5;
  color: #2563eb;
  font-size: 13px;
}

.hmskills-site .hm-contact-card .hm-auth-form {
  padding: 26px;
}

.hmskills-site .hm-contact-card .hm-auth-form h2 {
  margin: 0 0 6px;
  font-size: 23px;
}

.hmskills-site .hm-contact-card .hm-auth-form>p {
  margin-bottom: 14px;
  font-size: 12px;
}

.hmskills-site .hm-contact-card .form-control {
  min-height: 40px;
  font-size: 14px;
}

.hmskills-site .hm-contact-card textarea.form-control {
  min-height: 80px;
}

.hmskills-site .hm-contact-card .row {
  margin-left: -7px;
  margin-right: -7px;
}

.hmskills-site .hm-contact-card .row>div {
  padding-left: 7px;
  padding-right: 7px;
}

@media(max-width:767px) {
  .hmskills-site .hm-contact-card {
    grid-template-columns: 1fr;
    max-width: 540px;
  }

  .hmskills-site .hm-contact-aside,
  .hmskills-site .hm-contact-card .hm-auth-form {
    padding: 20px;
  }

  .hmskills-site .hm-contact-aside h2 {
    font-size: 24px;
  }

  .hmskills-site .hm-contact-aside p {
    margin-bottom: 14px;
  }

  .hmskills-site .hm-contact-details {
    gap: 12px;
  }

  .hmskills-site .hm-contact-card .form-control {
    min-height: 44px;
  }
}

.hmskills-site .hm-contact-card .form-control {
  min-height: 44px;
}



/* Keep the live program count immediately above the course cards. */
.hmskills-site #hm-courses .hm-course-controls { margin-bottom:0; }
.hmskills-site #hm-courses .hm-result-count { margin:10px 0 4px; color:#17315b !important; font-size:12px; line-height:1.4; }
/* Long-review previews and full comments in a focused portrait dialog. */
.hmskills-site .hm-review-preview { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden; overflow-wrap:anywhere; }
.hmskills-site .hm-review-read-more { align-self:flex-start; margin:8px 0 0; padding:6px 10px; border:1px solid #d2e2f6; border-radius:999px; background:#eff6ff; color:#1d4ed8; font-size:11px; font-weight:700; cursor:pointer; }
.hmskills-site .hm-review-read-more:hover { background:#dbeafe; border-color:#93c5fd; }
.hmskills-site .hm-review-read-more i { margin-left:5px; font-size:9px; }
.hmskills-site .hm-review-read-more[hidden] { display:none; }
.hmskills-site.hm-review-modal-open { overflow:hidden; }
.hmskills-site .hm-review-dialog { width:calc(100% - 32px); max-width:620px; max-height:calc(100dvh - 40px); padding:0; margin:auto; border:1px solid #dce6f2; border-top:4px solid #ea580c; border-radius:24px; background:#fff; color:#17315b; box-shadow:0 24px 80px #07142666; overflow:auto; overscroll-behavior:contain; }
.hmskills-site .hm-review-dialog::backdrop { background:#0b1b30b3; backdrop-filter:blur(5px); }
.hmskills-site .hm-review-dialog-header { position:relative; display:flex; align-items:center; gap:16px; padding:24px 68px 24px 24px; background:linear-gradient(120deg,#fff7ed,#eff6ff); border-bottom:1px solid #dce6f2; }
.hmskills-site .hm-review-dialog-header>img { flex:none; width:80px; height:80px; object-fit:cover; border:3px solid #fff; border-radius:50%; box-shadow:0 0 0 1px #c8ddf7; }
.hmskills-site .hm-review-dialog-header>div { min-width:0; }
.hmskills-site .hm-review-dialog-kicker { color:#9a450b; font-size:9px; font-weight:700; letter-spacing:1.2px; }
.hmskills-site .hm-review-dialog h2 { margin:5px 0; font-size:24px; color:#17315b; overflow-wrap:anywhere; }
.hmskills-site .hm-review-dialog-header p { margin:0 0 8px; font-size:12px; color:#526078; }
.hmskills-site .hm-review-dialog .hm-feedback-stars { display:flex; gap:4px; color:#b45309; font-size:13px; }
.hmskills-site .hm-review-dialog-close { position:absolute; right:14px; top:14px; display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:1px solid #d2e2f6; border-radius:50%; color:#17315b; background:#fff; cursor:pointer; }
.hmskills-site .hm-review-dialog-close:hover { background:#dbeafe; color:#1d4ed8; }
.hmskills-site .hm-review-dialog-text { margin:24px; padding:0 0 0 18px; border-left:3px solid #ea580c; color:#365371; font-size:15px; line-height:1.8; font-style:normal; white-space:pre-line; overflow-wrap:anywhere; }
@media(max-width:575px) {
 .hmskills-site .hm-review-dialog-header { gap:12px; padding:20px 60px 20px 18px; }
 .hmskills-site .hm-review-dialog-header>img { width:64px; height:64px; }
 .hmskills-site .hm-review-dialog h2 { font-size:20px; }
 .hmskills-site .hm-review-dialog-text { margin:20px 18px; padding-left:12px; font-size:14px; }
 .hmskills-site .hm-review-read-more { min-height:44px; }
}
/* Catalogue introduction follows the other guest-page icon headings. */
.hmskills-site.hm-catalog-page .hm-catalog-banner { min-height:0; padding:22px 0; }
.hmskills-site .hm-catalog-intro { max-width:1000px; margin:auto; padding:22px 24px; background:radial-gradient(ellipse at 90% 0, #ffffff, #00000000 65%), #182b59e8; border:1px solid #648bb580; border-radius:22px; box-shadow:0 8px 24px #08182d33; }
.hmskills-site .hm-catalog-intro .hm-page-heading { gap:16px; }
.hmskills-site.hm-catalog-page .hm-catalog-intro h1 { margin:4px 0 6px; font-size:clamp(24px,2.4vw,32px); line-height:1.2; }
.hmskills-site .hm-catalog-intro .hm-catalog-eyebrow { margin:0; color:#fdba74; font-size:10px; }
.hmskills-site .hm-catalog-intro .hm-catalog-breadcrumb { justify-content:flex-start; flex-wrap:wrap; margin:0; font-size:12px; }
.hmskills-site.hm-catalog-page .hm-catalog-intro>p { margin:14px auto 0; max-width:780px; font-size:13px; color:#edf5ff; }
@media(max-width:575px) {
 .hmskills-site.hm-catalog-page .hm-catalog-banner { padding:18px 0; }
 .hmskills-site .hm-catalog-intro { padding:18px 14px; border-radius:18px; }
 .hmskills-site .hm-catalog-intro .hm-page-heading { gap:12px; }
 .hmskills-site.hm-catalog-page .hm-catalog-intro h1 { font-size:24px; }
 .hmskills-site.hm-catalog-page .hm-catalog-intro>p { font-size:12px; line-height:1.65; }
}
/* Registration uses the login's image-and-form card without hiding page chrome. */
.hmskills-site .hm-application-card { margin:auto; grid-template-columns:1fr 1fr; }
.hmskills-site .hm-application-card .hm-auth-art { display:flex; padding:26px; }
.hmskills-site .hm-application-card .hm-auth-art img { max-height:200px; object-fit:contain; margin:20px 0; }
.hmskills-site .hm-application-card .hm-auth-art h2 { margin:0 0 12px; font-size:27px; }
.hmskills-site .hm-application-card .hm-auth-art p { margin:0; font-size:13px; line-height:1.65; }
.hmskills-site .hm-application-card .hm-auth-form { padding:26px; min-width:0; }
.hmskills-site .hm-application-card .hm-auth-form h2 { margin:0 0 8px; font-size:23px; }
.hmskills-site .hm-application-card .hm-auth-form>p { margin-bottom:14px; font-size:12px; }
.hmskills-site .hm-application-card .row { margin-left:-7px; margin-right:-7px; }
.hmskills-site .hm-application-card .row>div { padding-left:7px; padding-right:7px; }
.hmskills-site .hm-application-card textarea.form-control { min-height:80px; }
@media(max-width:767px) {
 .hmskills-site .hm-application-card { grid-template-columns:1fr; max-width:540px; }
 .hmskills-site .hm-application-card .hm-auth-art,.hmskills-site .hm-application-card .hm-auth-form { padding:20px; }
 .hmskills-site .hm-application-card .hm-auth-art img { max-height:130px; margin:14px 0; }
 .hmskills-site .hm-application-card .hm-auth-art h2 { font-size:24px; }
}
/* Registration fills the content width alongside the public header and footer. */
.hmskills-site .hm-application-card { width:100%; max-width:none; }
@media(max-width:767px) { .hmskills-site .hm-application-card { max-width:none; } }
/* Full-width FAQ card with a distinct conversation illustration. */
.hmskills-site .hm-faq-section { padding:24px 0; }
.hmskills-site .hm-faq-layout { width:100%; max-width:none; grid-template-columns:.8fr 1.2fr; }
.hmskills-site .hm-faq-guide { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:32px; background:radial-gradient(ellipse at 0 0,#ffedd5,transparent 60%),linear-gradient(145deg,#f8fbff,#e3efff); }
.hmskills-site .hm-faq-layout .hm-faq-guide .hm-eyebrow { color:#9a450b; margin-bottom:14px; }
.hmskills-site .hm-faq-guide h2 { margin:14px 0 10px; font-size:29px; }
.hmskills-site .hm-faq-guide p { font-size:13px; line-height:1.7; margin:0 0 18px; max-width:420px; }
.hmskills-site .hm-faq-guide .hm-button { background:#fff; color:#17315b; border-color:#c6dbf4; }
.hmskills-site .hm-faq-illustration { position:relative; width:270px; max-width:100%; height:162px; }
.hmskills-site .hm-faq-question { position:absolute; left:18px; top:0; display:flex; align-items:center; justify-content:center; width:142px; height:130px; border:1px solid #6d9be6; border-radius:30px 30px 30px 8px; background:linear-gradient(145deg,#3b82f6,#1d4ed8); color:#fff; box-shadow:0 8px 20px #1d4ed833; font-size:70px; transform:rotate(-5deg); }
.hmskills-site .hm-faq-topic { position:absolute; right:0; display:flex; align-items:center; gap:9px; padding:12px 15px; border:1px solid #cbdff5; border-radius:14px; background:#fff; color:#17315b; font-size:12px; font-weight:600; box-shadow:0 5px 14px #17315b15; }
.hmskills-site .hm-faq-topic i { color:#2563eb; }
.hmskills-site .hm-faq-topic-first { top:38px; }
.hmskills-site .hm-faq-topic-second { top:103px; }
.hmskills-site .hm-faq-topic-second i { color:#c45b0b; }
.hmskills-site .hm-faq-layout .hm-faq-answer-panel { width:100%; max-width:none; margin:0; padding:32px; min-width:0; }
.hmskills-site .hm-faq-answer-panel h2 { margin:0 0 18px; font-size:23px; color:#17315b; }
.hmskills-site .hm-faq-layout .hm-faq details { padding:0; margin-bottom:10px; border:1px solid #dce6f2; border-radius:12px; box-shadow:none; overflow:hidden; }
.hmskills-site .hm-faq-layout .hm-faq details:last-child { margin-bottom:0; }
.hmskills-site .hm-faq-layout .hm-faq summary { min-height:48px; padding:13px 15px; font-size:13px; line-height:1.5; }
.hmskills-site .hm-faq-layout .hm-faq details p { margin:0; padding:0 15px 15px; font-size:12px; line-height:1.7; }
.hmskills-site .hm-faq-layout .hm-faq details[open] { border-color:#b9d2ef; }
.hmskills-site .hm-faq-layout .hm-faq details a { color:#1d4ed8; text-decoration:underline; text-underline-offset:3px; }
@media(max-width:767px) {
 .hmskills-site .hm-faq-layout { grid-template-columns:1fr; }
 .hmskills-site .hm-faq-guide,.hmskills-site .hm-faq-layout .hm-faq-answer-panel { padding:20px; }
 .hmskills-site .hm-faq-illustration { display:none; }
 .hmskills-site .hm-faq-guide h2 { margin-top:0; font-size:26px; }
 .hmskills-site .hm-faq-layout .hm-faq summary { padding:12px; }
}
/* Matching Courses-style heading panels and tighter content spacing. */
.hmskills-site .hm-trainees-page .hm-trainees-count { margin:10px 0 4px; line-height:1.4; }
.hmskills-site .hm-trainees-controls { margin-bottom:0; }
.hmskills-site .hm-about-compact { padding:14px 0; }
.hmskills-site .hm-about-compact .hm-hero-grid { gap:24px; }
.hmskills-site .hm-about-compact .hm-hero-grid>img { max-height:190px; }
.hmskills-site .hm-about-compact .hm-section-title { font-size:27px; margin-bottom:8px; }
.hmskills-site .hm-about-compact .hm-hero-grid p { font-size:12px; line-height:1.65; margin-bottom:10px; }
.hmskills-site .hm-about-compact .hm-eyebrow { margin-bottom:8px; }
.hmskills-site .hm-about-compact .hm-feature { padding:14px 18px; }
.hmskills-site .hm-about-compact .hm-feature h3 { font-size:16px; margin:6px 0; }
.hmskills-site .hm-about-compact .hm-feature p { font-size:12px; line-height:1.6; margin:0 0 6px; }
.hmskills-site .hm-about-compact .hm-feature a { font-size:12px; }
@media(max-width:767px) {
 .hmskills-site .hm-about-compact .hm-hero-grid>img { max-height:150px; }
 .hmskills-site .hm-about-compact .hm-section-title { font-size:24px; }
}
/* Course details: clear syllabus, practical facts and a focused enquiry card. */
.hmskills-site .hm-course-content { padding:24px 0; }
.hmskills-site .hm-course-banner .hm-page-heading-copy { overflow-wrap:anywhere; }
.hmskills-site .hm-course-kicker { display:block; color:#9a450b; font-size:10px; letter-spacing:1.2px; font-weight:700; }
.hmskills-site .hm-course-banner .hm-course-kicker { color:#fdba74; margin-bottom:5px; }
.hmskills-site .hm-course-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; align-items:start; gap:20px; }
.hmskills-site .hm-course-main { min-width:0; }
.hmskills-site .hm-course-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.hmskills-site .hm-course-facts>div { display:grid; grid-template-columns:30px minmax(0,1fr); align-items:center; gap:3px 9px; padding:16px; border:1px solid #dce6f2; border-left:3px solid #fb923c; border-radius:14px; background:#fff; }
.hmskills-site .hm-course-facts i { grid-row:span 2; color:#2563eb; font-size:20px; }
.hmskills-site .hm-course-facts span { color:#526078; font-size:11px; }
.hmskills-site .hm-course-facts strong { color:#17315b; font-size:15px; overflow-wrap:anywhere; }
.hmskills-site .hm-course-panel { padding:24px; border:1px solid #dce6f2; border-radius:20px; background:#fff; box-shadow:0 8px 24px #08182d26; color:#17315b; }
.hmskills-site .hm-course-panel h2 { color:#17315b; font-size:24px; margin:5px 0 10px; }
.hmskills-site .hm-course-panel>p { color:#526078; font-size:13px; line-height:1.7; }
.hmskills-site .hm-course-panel-title { display:flex; gap:12px; align-items:center; }
.hmskills-site .hm-course-panel-title>span { display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:12px; background:#eff6ff; color:#2563eb; font-size:19px; }
.hmskills-site .hm-course-topic-list { list-style:none; padding:0; margin:20px 0; display:grid; gap:8px; }
.hmskills-site .hm-course-topic-list li { display:flex; gap:12px; align-items:flex-start; padding:13px 15px; border:1px solid #e0eaf5; border-radius:12px; background:#f8fbff; font-size:14px; line-height:1.6; }
.hmskills-site .hm-course-topic-list li>span { flex:none; font-weight:700; font-size:11px; color:#1d4ed8; padding:3px 7px; border-radius:7px; background:#e4eeff; }
.hmskills-site .hm-course-topic-list li>div { min-width:0; overflow-wrap:anywhere; }
.hmskills-site .hm-course-topic-empty { padding:20px; border-radius:12px; background:#eff6ff; font-size:13px; margin:18px 0; }
.hmskills-site .hm-course-help { display:flex; gap:16px; align-items:center; justify-content:space-between; padding-top:18px; border-top:1px solid #dce6f2; }
.hmskills-site .hm-course-help h3 { font-size:16px; margin:0 0 5px; }
.hmskills-site .hm-course-help p { font-size:12px; margin:0; }
.hmskills-site .hm-course-help .hm-button { flex:none; }
.hmskills-site .hm-course-summary { position:sticky; top:100px; border-top:3px solid #ea580c; }
.hmskills-site .hm-course-summary dl { margin:18px 0; }
.hmskills-site .hm-course-summary dl>div { display:grid; grid-template-columns:85px minmax(0,1fr); gap:10px; padding:12px 0; border-bottom:1px solid #e0eaf5; font-size:12px; line-height:1.5; }
.hmskills-site .hm-course-summary dt { color:#526078; font-weight:500; }
.hmskills-site .hm-course-summary dd { margin:0; color:#17315b; font-weight:600; overflow-wrap:anywhere; }
.hmskills-site .hm-course-summary .hm-course-price { color:#9a450b; font-size:17px; }
.hmskills-site .hm-course-summary .hm-button { display:flex; justify-content:center; gap:8px; width:100%; margin-top:10px; }
.hmskills-site .hm-course-summary .hm-button-primary { background:#2563eb; border-color:#2563eb; }
.hmskills-site .hm-course-summary .hm-course-note { font-size:11px; margin:14px 0 0; }
.hmskills-site .hm-course-related { margin-top:26px; }
.hmskills-site .hm-course-related-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.hmskills-site .hm-course-related-heading h2 { color:#fff; font-size:23px; margin:0; }
.hmskills-site .hm-course-related-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.hmskills-site .hm-course-related-grid>a { display:flex; align-items:center; gap:10px; padding:15px; border:1px solid #dce6f2; border-radius:14px; background:#fff; color:#17315b; }
.hmskills-site .hm-course-related-grid strong { flex:1; min-width:0; font-size:13px; overflow-wrap:anywhere; }
.hmskills-site .hm-course-related-grid>a:hover { background:#eff6ff; border-color:#93c5fd; }
.hmskills-site .hm-course-related-icon { display:flex; align-items:center; justify-content:center; flex:none; width:32px; height:32px; border-radius:9px; color:#2563eb; background:#eff6ff; }
.hmskills-site .hm-course-related-grid>a>i { flex:none; font-size:11px; color:#2563eb; }
.hmskills-site #course-syllabus { scroll-margin-top:100px; }
@media(max-width:991px) {
 .hmskills-site .hm-course-detail-layout { grid-template-columns:1fr; }
 .hmskills-site .hm-course-summary { position:static; }
 .hmskills-site .hm-course-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:575px) {
 .hmskills-site .hm-course-facts { grid-template-columns:1fr; gap:8px; }
 .hmskills-site .hm-course-facts>div { padding:12px 15px; }
 .hmskills-site .hm-course-panel { padding:20px; }
 .hmskills-site .hm-course-panel h2 { font-size:22px; }
 .hmskills-site .hm-course-help,.hmskills-site .hm-course-related-heading { flex-direction:column; align-items:flex-start; }
 .hmskills-site .hm-course-related-grid { grid-template-columns:1fr; }
}
/* Full-width contact card with an original message-and-phone illustration. */
.hmskills-site .hm-contact-card { width:100%; max-width:none; }
.hmskills-site .hm-contact-card .hm-contact-aside { background:radial-gradient(ellipse at 0 0,#ffedd5,transparent 60%),linear-gradient(145deg,#f8fbff,#e3efff); }
.hmskills-site .hm-contact-illustration { position:relative; width:250px; max-width:100%; height:128px; margin:8px 0 18px; }
.hmskills-site .hm-contact-envelope { position:absolute; left:8px; top:0; display:flex; align-items:center; justify-content:center; width:140px; height:112px; border:1px solid #77a3eb; border-radius:28px 28px 8px 28px; background:linear-gradient(145deg,#3b82f6,#1d4ed8); color:#fff; box-shadow:0 8px 20px #1d4ed833; font-size:56px; transform:rotate(-5deg); }
.hmskills-site .hm-contact-phone-bubble { position:absolute; right:28px; top:3px; display:flex; align-items:center; justify-content:center; width:46px; height:46px; border:3px solid #fff; border-radius:50%; background:#ffedd5; color:#c45b0b; font-size:19px; box-shadow:0 4px 14px #17315b15; }
.hmskills-site .hm-contact-message-bubble { position:absolute; right:0; top:72px; display:flex; align-items:center; gap:9px; padding:12px 15px; border:1px solid #cbdff5; border-radius:14px 14px 14px 4px; background:#fff; color:#17315b; font-size:12px; font-weight:600; box-shadow:0 5px 14px #17315b15; }
.hmskills-site .hm-contact-message-bubble i { color:#2563eb; }
@media(max-width:767px) {
 .hmskills-site .hm-contact-card { max-width:none; }
 .hmskills-site .hm-contact-illustration { height:116px; margin-bottom:14px; }
 .hmskills-site .hm-contact-envelope { height:100px; }
 .hmskills-site .hm-contact-message-bubble { top:65px; }
}
/* A shorter Contact page keeps its illustration, details and form together. */
.hmskills-site .hm-contact-compact { padding:14px 0; }
.hmskills-site .hm-contact-card .hm-contact-aside,
.hmskills-site .hm-contact-card .hm-auth-form { padding:18px 22px; }
.hmskills-site .hm-contact-card .hm-contact-aside h2 { font-size:24px; margin-bottom:6px; }
.hmskills-site .hm-contact-card .hm-contact-aside>p { font-size:12px; margin-bottom:12px; }
.hmskills-site .hm-contact-card .hm-auth-form h2 { font-size:22px; }
.hmskills-site .hm-contact-card .hm-auth-form>p { margin-bottom:10px; }
.hmskills-site .hm-contact-card .form-group { margin-bottom:8px; }
.hmskills-site .hm-contact-card textarea.form-control { min-height:64px; height:64px; }
.hmskills-site .hm-contact-illustration { width:220px; height:88px; margin:3px 0 10px; }
.hmskills-site .hm-contact-envelope { width:100px; height:78px; font-size:38px; border-radius:20px 20px 6px 20px; }
.hmskills-site .hm-contact-phone-bubble { width:34px; height:34px; font-size:14px; right:24px; }
.hmskills-site .hm-contact-message-bubble { top:48px; padding:8px 11px; font-size:10px; }
@media(min-width:768px) {
 .hmskills-site .hm-contact-card .hm-contact-details { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .hmskills-site .hm-contact-card .hm-contact-details>div { grid-column:1/-1; }
 .hmskills-site .hm-contact-card .hm-contact-details>*>span:last-child { font-size:12px; }
}
@media(min-width:992px) {
 .hmskills-site.hm-contact-page .hm-page-banner { padding:14px 0 !important; }
 .hmskills-site.hm-contact-page .hm-catalog-intro { padding:12px 24px; }
 .hmskills-site.hm-contact-page .hm-page-heading-icon { width:60px; height:60px; font-size:32px; border-radius:16px; }
 .hmskills-site.hm-contact-page .hm-footer-invite { padding:12px 0; }
 .hmskills-site.hm-contact-page .hm-footer-refresh .hm-footer-grid { padding-top:18px; }
 .hmskills-site.hm-contact-page .hm-footer-refresh .hm-footer-bottom { margin-top:12px; padding-top:10px; padding-bottom:10px; }
}
/* A distinct enrolment illustration shares the FAQ's warm blue visual style. */
.hmskills-site .hm-application-card .hm-auth-art { background:radial-gradient(ellipse at 0 0,#ffedd5,transparent 60%),linear-gradient(145deg,#f8fbff,#e3efff); }
.hmskills-site .hm-registration-illustration { position:relative; width:280px; max-width:100%; height:185px; margin:24px 0; }
.hmskills-site .hm-registration-sheet { position:absolute; left:15px; top:0; display:flex; align-items:center; justify-content:center; width:158px; height:160px; border:1px solid #77a3eb; border-radius:28px 28px 8px 28px; background:linear-gradient(145deg,#3b82f6,#1d4ed8); color:#fff; box-shadow:0 8px 20px #1d4ed833; font-size:80px; transform:rotate(-5deg); }
.hmskills-site .hm-registration-pencil { position:absolute; top:20px; right:32px; display:flex; align-items:center; justify-content:center; width:50px; height:50px; border:3px solid #fff; border-radius:50%; background:#ffedd5; color:#c45b0b; font-size:22px; box-shadow:0 5px 14px #17315b15; }
.hmskills-site .hm-registration-badge { position:absolute; right:0; top:113px; display:flex; align-items:center; gap:10px; padding:13px 17px; border:1px solid #cbdff5; border-radius:14px; background:#fff; color:#17315b; font-size:13px; font-weight:600; box-shadow:0 5px 14px #17315b15; }
.hmskills-site .hm-registration-badge i { color:#2563eb; }
.hmskills-site .hm-registration-check { position:absolute; left:5px; bottom:0; display:flex; align-items:center; justify-content:center; width:36px; height:36px; border:3px solid #fff; border-radius:50%; background:#dcfce7; color:#15803d; font-size:14px; }
@media(max-width:767px) {
 .hmskills-site .hm-registration-illustration { width:250px; height:155px; margin:18px 0; }
 .hmskills-site .hm-registration-sheet { width:140px; height:132px; font-size:65px; }
 .hmskills-site .hm-registration-pencil { width:42px; height:42px; right:24px; font-size:18px; }
 .hmskills-site .hm-registration-badge { top:90px; padding:11px 14px; font-size:12px; }
}
/* Compact registration heading and a distinct illustrated About panel. */
.hmskills-site.hm-registration-page .hm-page-banner { padding:14px 0 !important; }
.hmskills-site.hm-registration-page .hm-catalog-intro { padding:12px 24px; }
.hmskills-site.hm-registration-page .hm-page-heading-icon { width:60px; height:60px; font-size:32px; border-radius:16px; }
.hmskills-site.hm-registration-page .hm-page-heading h1 { font-size:28px; margin-bottom:4px; }
.hmskills-site.hm-registration-page .hm-application { padding:14px 0; }
.hmskills-site .hm-about-section { padding:14px 0; }
.hmskills-site .hm-about-layout { width:100%; max-width:none; grid-template-columns:.85fr 1.15fr; }
.hmskills-site .hm-about-guide { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:24px; background:radial-gradient(ellipse at 0 0,#ffedd5,transparent 60%),linear-gradient(145deg,#f8fbff,#e3efff); }
.hmskills-site.hm-scenic-page .hm-content .hm-about-guide .hm-eyebrow { color:#9a450b; margin-bottom:12px; }
.hmskills-site .hm-about-guide h2 { font-size:26px; margin:14px 0 8px; max-width:420px; }
.hmskills-site .hm-about-guide p { font-size:13px; line-height:1.65; margin:0 0 16px; max-width:420px; }
.hmskills-site .hm-about-guide .hm-button { background:#fff; color:#17315b; border-color:#c6dbf4; }
.hmskills-site .hm-about-illustration { position:relative; width:280px; max-width:100%; height:140px; }
.hmskills-site .hm-about-monitor { display:flex; align-items:center; justify-content:center; position:absolute; left:8px; top:0; width:164px; height:120px; border:1px solid #77a3eb; border-radius:24px 24px 8px 24px; background:linear-gradient(145deg,#3b82f6,#1d4ed8); color:#fff; font-size:66px; transform:rotate(-5deg); box-shadow:0 8px 20px #1d4ed833; }
.hmskills-site .hm-about-spark { position:absolute; top:6px; right:34px; display:flex; align-items:center; justify-content:center; width:42px; height:42px; border:3px solid #fff; border-radius:50%; background:#ffedd5; color:#c45b0b; font-size:20px; }
.hmskills-site .hm-about-badge { position:absolute; right:0; bottom:0; display:flex; gap:8px; align-items:center; padding:11px 14px; border:1px solid #cbdff5; border-radius:14px; background:#fff; color:#17315b; font-size:12px; font-weight:600; box-shadow:0 5px 14px #17315b15; }
.hmskills-site .hm-about-badge i { color:#2563eb; }
.hmskills-site .hm-about-copy { min-width:0; padding:24px; }
.hmskills-site .hm-about-copy>h2 { font-size:23px; margin:0 0 10px; }
.hmskills-site .hm-about-copy>p { font-size:12px; line-height:1.65; margin:0 0 10px; }
.hmskills-site .hm-about-features { display:grid; gap:8px; margin-top:16px; }
.hmskills-site .hm-about-features .hm-feature { display:flex; align-items:flex-start; gap:12px; padding:12px 14px; border:1px solid #dce6f2; border-radius:12px; box-shadow:none; background:#fff; }
.hmskills-site .hm-about-features .hm-about-feature-icon { display:flex; align-items:center; justify-content:center; flex:none; width:34px; height:34px; border-radius:10px; background:#eff6ff; color:#2563eb; font-size:16px; }
.hmskills-site .hm-about-features .hm-feature h3 { font-size:15px; margin:0 0 4px; color:#17315b; }
.hmskills-site .hm-about-features .hm-feature p { font-size:12px; line-height:1.6; margin:0; }
.hmskills-site .hm-about-features .hm-feature a { display:inline-block; margin-top:4px; font-size:12px; color:#1d4ed8; }
@media(max-width:767px) {
 .hmskills-site.hm-registration-page .hm-catalog-intro { padding:12px 16px; }
 .hmskills-site.hm-registration-page .hm-page-heading h1 { font-size:23px; }
 .hmskills-site .hm-about-layout { grid-template-columns:1fr; }
 .hmskills-site .hm-about-guide,.hmskills-site .hm-about-copy { padding:20px; }
 .hmskills-site .hm-about-guide h2 { font-size:24px; }
 .hmskills-site .hm-about-illustration { height:130px; width:260px; }
}
/* One heading system for Courses, About, Trainees, FAQs, Contact and Registration. */
.hmskills-site .hm-content .hm-guest-heading-banner { padding:22px 0 !important; }
.hmskills-site .hm-content .hm-guest-heading-panel { width:100%; max-width:1000px; min-height:132px; padding:22px 24px; display:flex; align-items:center; justify-content:center; }
.hmskills-site .hm-guest-heading-panel .hm-page-heading { width:100%; gap:16px; }
.hmskills-site .hm-guest-heading-panel .hm-page-heading-icon { width:76px; height:76px; font-size:40px; border-radius:20px; }
.hmskills-site .hm-guest-heading-panel .hm-page-heading-copy { min-width:0; }
.hmskills-site .hm-guest-heading-panel .hm-page-heading-copy h1 { margin:4px 0 6px; font-size:clamp(24px,2.4vw,32px); line-height:1.2; color:#fff; }
.hmskills-site .hm-guest-heading-panel .hm-catalog-eyebrow { display:block; margin:0; font-size:10px; font-weight:700; letter-spacing:1.2px; line-height:1.5; color:#fdba74; }
.hmskills-site .hm-guest-heading-panel .breadcrumb,
.hmskills-site .hm-guest-heading-panel .hm-catalog-breadcrumb { margin:0; padding:0; font-size:12px; line-height:1.5; justify-content:flex-start; }
@media(max-width:575px) {
 .hmskills-site .hm-content .hm-guest-heading-banner { padding:18px 0 !important; }
 .hmskills-site .hm-content .hm-guest-heading-panel { min-height:180px; padding:18px 14px; border-radius:18px; }
 .hmskills-site .hm-guest-heading-panel .hm-page-heading { gap:12px; }
 .hmskills-site .hm-guest-heading-panel .hm-page-heading-icon { width:60px; height:60px; font-size:32px; border-radius:16px; }
 .hmskills-site .hm-guest-heading-panel .hm-page-heading-copy h1 { font-size:24px; }
}
/* Preserve readable controls and banner copy in the restored course layout. */
.hmskills-site.hm-course-original .hm-content .btn-success { color:#fff !important; background:#15803d; border-color:#15803d; }
.hmskills-site.hm-course-original #banner-area .text-white-50 { color:#d5e3f2 !important; }
.hmskills-site.hm-course-original #banner-area .card .text-muted { color:#526078 !important; }
/* Compact refinements preserve the established course banner and sidebar layout. */
.hmskills-site.hm-course-original .hm-course-hero { padding:24px 0 !important; background:radial-gradient(ellipse at 5% 0,#234d80,transparent 65%),linear-gradient(125deg,#132c50,#0b1e38) !important; border-bottom:3px solid #ea580c; }
.hmskills-site.hm-course-original .hm-course-hero .breadcrumb { font-size:11px; margin-bottom:12px !important; }
.hmskills-site.hm-course-original .hm-course-hero h1 { font-size:30px !important; margin-bottom:10px !important; line-height:1.2 !important; }
.hmskills-site.hm-course-original .hm-course-hero .lead { font-size:13px !important; line-height:1.7; max-width:720px; margin-bottom:16px !important; }
.hmskills-site.hm-course-original .hm-course-hero .badge-warning { background:#ffedd5; color:#9a450b !important; font-size:10px !important; letter-spacing:.4px; padding:5px 10px !important; border:1px solid #fdba7466; }
.hmskills-site.hm-course-original .hm-course-hero .d-flex.flex-wrap>div { margin-right:24px !important; }
.hmskills-site.hm-course-original .hm-course-hero .small { font-size:11px; margin-bottom:3px; }
.hmskills-site.hm-course-original .hm-course-hero strong { font-size:15px; }
.hmskills-site.hm-course-original .hm-course-hero .text-success { color:#fdba74 !important; }
.hmskills-site.hm-course-original .hm-course-hero strong.text-white[style] { color:#fdba74 !important; font-size:17px !important; }
.hmskills-site.hm-course-original .hm-course-admission { padding:20px !important; border-radius:18px !important; background:#fff !important; border-top:3px solid #f97316 !important; box-shadow:0 12px 28px #00000026 !important; }
.hmskills-site.hm-course-original .hm-course-admission h5 { font-size:19px; color:#17315b !important; }
.hmskills-site.hm-course-original .hm-course-admission p { font-size:12px; line-height:1.6; margin-bottom:12px !important; }
.hmskills-site.hm-course-original .hm-course-page .btn { display:inline-flex; align-items:center; justify-content:center; gap:5px; padding:9px 16px !important; min-height:40px !important; border-radius:999px !important; font-size:12px; line-height:1.4; text-decoration:none; font-weight:600; transition:background .2s,border-color .2s,box-shadow .2s; }
.hmskills-site.hm-course-original .hm-course-page .btn-block { display:flex; }
.hmskills-site.hm-course-original .hm-course-page .btn-success { background:#2563eb; border-color:#2563eb; box-shadow:0 4px 10px #2563eb26 !important; }
.hmskills-site.hm-course-original .hm-course-page .btn-success:hover { background:#1d4ed8; border-color:#1d4ed8; }
.hmskills-site.hm-course-original .hm-course-page .btn-outline-primary,
.hmskills-site.hm-course-original .hm-course-page .btn-outline-dark { background:#fff; color:#17315b !important; border-color:#cad9eb; }
.hmskills-site.hm-course-original .hm-course-page .btn-outline-primary:hover,
.hmskills-site.hm-course-original .hm-course-page .btn-outline-dark:hover { background:#eff6ff; border-color:#93b8ee; }
.hmskills-site.hm-course-original .hm-course-body { padding:24px 0 !important; background:linear-gradient(180deg,#eff5fc,#f8fafc 420px) !important; }
.hmskills-site.hm-course-original .hm-course-body>.container>.row { margin-left:-10px; margin-right:-10px; }
.hmskills-site.hm-course-original .hm-course-body>.container>.row>div { padding-left:10px; padding-right:10px; }
.hmskills-site.hm-course-original .hm-course-card { padding:20px !important; margin-bottom:16px !important; border:1px solid #e0e8f2 !important; border-radius:18px !important; box-shadow:0 5px 18px #17315b08 !important; background:#fff !important; }
.hmskills-site.hm-course-original .hm-course-card h4 { font-size:20px; line-height:1.4; color:#17315b !important; margin-bottom:12px !important; }
.hmskills-site.hm-course-original .hm-course-card h5 { font-size:17px; line-height:1.4; color:#17315b !important; padding-bottom:12px !important; margin-bottom:10px !important; border-color:#dce6f2 !important; }
.hmskills-site.hm-course-original .hm-course-card h6 { font-size:13px; line-height:1.5; color:#17315b !important; }
.hmskills-site.hm-course-original .hm-course-card .small { font-size:12px; line-height:1.65; }
.hmskills-site.hm-course-original .hm-course-card .text-muted { color:#526078 !important; }
.hmskills-site.hm-course-original .hm-course-card .text-primary,
.hmskills-site.hm-course-original .hm-course-card .text-info { color:#2563eb !important; }
.hmskills-site.hm-course-original .hm-course-card .text-success,
.hmskills-site.hm-course-original .hm-course-card .text-danger { color:#b45309 !important; }
.hmskills-site.hm-course-original .hm-course-body .col-lg-8>.hm-course-card:first-child .row { margin-left:-6px; margin-right:-6px; }
.hmskills-site.hm-course-original .hm-course-body .col-lg-8>.hm-course-card:first-child .col-md-6 { padding:6px; margin-bottom:0 !important; }
.hmskills-site.hm-course-original .hm-course-body .col-lg-8>.hm-course-card:first-child .d-flex { height:100%; padding:12px; border:1px solid #e4ebf5; border-radius:12px; background:#f8fbff; }
.hmskills-site.hm-course-original .hm-course-body .col-lg-8>.hm-course-card:first-child .d-flex>div:first-child { display:flex; align-items:center; justify-content:center; flex:none; width:34px; height:34px; border-radius:10px; background:#e7efff; font-size:18px !important; margin-right:10px !important; }
.hmskills-site.hm-course-original .hm-course-syllabus-rows { gap:7px; margin-bottom:16px !important; }
.hmskills-site.hm-course-original .hm-course-syllabus-rows .list-group-item { gap:12px; padding:10px 12px !important; border:1px solid #e0e8f2 !important; border-radius:10px; background:#f8fbff; }
.hmskills-site.hm-course-original .hm-course-syllabus-rows .badge { display:flex; align-items:center; justify-content:center; flex:none; min-width:30px !important; min-height:28px; margin-right:0 !important; background:#e4eeff; color:#1d4ed8; border-radius:8px; font-size:11px !important; font-weight:700 !important; }
.hmskills-site.hm-course-original .hm-course-syllabus-rows .text-dark { min-width:0; overflow-wrap:anywhere; color:#17315b !important; font-size:13px !important; line-height:1.6; }
.hmskills-site.hm-course-original .hm-course-card>p.mb-4 { margin-bottom:12px !important; }
.hmskills-site.hm-course-original .hm-course-help-strip { padding:12px 14px !important; gap:12px; border:1px solid #dce6f2; border-left:3px solid #f97316; border-radius:12px !important; background:#f8fbff !important; margin-top:12px !important; }
.hmskills-site.hm-course-original .hm-course-help-strip>div { flex:1; }
.hmskills-site.hm-course-original .hm-course-help-strip .btn { flex:none; }
.hmskills-site.hm-course-original .hm-course-overview-rows { margin-bottom:14px !important; font-size:12px !important; }
.hmskills-site.hm-course-original .hm-course-overview-rows li { gap:12px; padding:9px 0 !important; border-color:#e4ebf5 !important; align-items:flex-start; }
.hmskills-site.hm-course-original .hm-course-overview-rows li>span:first-child { flex:none; }
.hmskills-site.hm-course-original .hm-course-overview-rows li>:last-child { min-width:0; text-align:right; overflow-wrap:anywhere; }
.hmskills-site.hm-course-original .hm-course-overview-rows .text-dark { color:#17315b !important; }
.hmskills-site.hm-course-original .hm-course-related-rows li { padding:8px 0 !important; border-color:#e4ebf5 !important; }
.hmskills-site.hm-course-original .hm-course-related-rows a { gap:10px; color:#17315b !important; font-size:12px; line-height:1.6; }
.hmskills-site.hm-course-original .hm-course-related-rows a>span:first-child { min-width:0; overflow-wrap:anywhere; }
.hmskills-site.hm-course-original .hm-course-related-rows .badge { flex:none; max-width:90px; white-space:normal; font-size:10px; padding:5px 7px; background:#eff6ff; border-color:#dce6f2 !important; color:#526078 !important; }
.hmskills-site.hm-course-original .hm-course-guidance { padding:20px !important; border-radius:18px !important; background:linear-gradient(135deg,#19365b,#12233d) !important; border-top:3px solid #f97316 !important; }
.hmskills-site.hm-course-original .hm-course-guidance>.fa-headset { font-size:30px; margin-bottom:10px !important; color:#fdba74 !important; }
.hmskills-site.hm-course-original .hm-course-guidance h5 { font-size:18px; }
.hmskills-site.hm-course-original .hm-course-guidance p { color:#d5e3f2 !important; font-size:12px; line-height:1.6; margin-bottom:12px !important; }
.hmskills-site.hm-course-original .hm-course-page a:focus-visible { outline:2px solid #f97316; outline-offset:3px; }
@media(max-width:991px) {
 .hmskills-site.hm-course-original .hm-course-hero { padding:20px 0 !important; }
 .hmskills-site.hm-course-original .hm-course-admission { max-width:540px; text-align:left; }
 .hmskills-site.hm-course-original .hm-course-body { padding:18px 0 !important; }
}
@media(max-width:575px) {
 .hmskills-site.hm-course-original .hm-course-hero h1 { font-size:25px !important; }
 .hmskills-site.hm-course-original .hm-course-card,.hmskills-site.hm-course-original .hm-course-admission,.hmskills-site.hm-course-original .hm-course-guidance { padding:16px !important; }
 .hmskills-site.hm-course-original .hm-course-card h4 { font-size:18px; }
 .hmskills-site.hm-course-original .hm-course-help-strip { align-items:stretch !important; }
 .hmskills-site.hm-course-original .hm-course-help-strip .btn { width:100%; margin-top:0 !important; }
 .hmskills-site.hm-course-original .hm-course-page .btn { min-height:44px !important; }
}
@media(prefers-reduced-motion:reduce) {
 .hmskills-site.hm-course-original .hm-course-page .btn { transition:none; }
}
/* A tighter course introduction and one guidance callout beneath the syllabus. */
.hmskills-site.hm-course-original .hm-course-hero { padding:18px 0 !important; }
.hmskills-site.hm-course-original .hm-course-hero .breadcrumb { margin-bottom:8px !important; font-size:10px; }
.hmskills-site.hm-course-original .hm-course-hero h1 { font-size:27px !important; margin-bottom:8px !important; }
.hmskills-site.hm-course-original .hm-course-hero .lead { font-size:12px !important; line-height:1.6; margin-bottom:12px !important; max-width:650px; }
.hmskills-site.hm-course-original .hm-course-hero .badge-warning { margin-bottom:6px !important; padding:4px 9px !important; }
.hmskills-site.hm-course-original .hm-course-admission { padding:16px !important; }
.hmskills-site.hm-course-original .hm-course-admission h5 { font-size:17px; margin-bottom:6px !important; }
.hmskills-site.hm-course-original .hm-course-admission p { font-size:11px; margin-bottom:10px !important; }
.hmskills-site.hm-course-original .hm-course-hero-facts { gap:8px; }
.hmskills-site.hm-course-original .hm-course-hero .hm-course-hero-facts>div { display:grid; gap:2px; padding:8px 12px; margin:0 !important; border:1px solid #ffffff26; border-radius:10px; background:#ffffff0a; }
.hmskills-site.hm-course-original .hm-course-hero-facts .small { margin:0; font-size:10px; }
.hmskills-site.hm-course-original .hm-course-hero-facts strong { font-size:14px; }
.hmskills-site.hm-course-original .hm-course-help-strip { padding:14px !important; background:linear-gradient(110deg,#eef5ff,#fff7ed) !important; }
.hmskills-site.hm-course-original .hm-course-help-strip h6 { font-size:15px; }
.hmskills-site.hm-course-original .hm-course-help-strip h6 i { color:#2563eb; }
.hmskills-site.hm-course-original .hm-course-help-strip p { font-size:12px; }
@media(max-width:575px) {
 .hmskills-site.hm-course-original .hm-course-hero h1 { font-size:24px !important; }
 .hmskills-site.hm-course-original .hm-course-hero>.container>.row>.col-lg-4 { margin-top:16px !important; }
}
/* The Courses heading spans the full content container. */
.hmskills-site .hm-content .hm-guest-heading-panel { max-width:none; }
/* Keep the institute branding and menu separate on narrow phones. */
@media(max-width:359px) {
 .hmskills-site .hm-header .hm-brand { gap:6px; font-size:16px; min-width:0; }
 .hmskills-site .hm-header .hm-brand img { width:42px; height:42px; flex:none; }
 .hmskills-site .hm-header .hm-brand .hm-logo-tagline { font-size:8px; }
 .hmskills-site .hm-header-inner { gap:8px; }
}
/* Allow the registration illustration and form to shrink inside narrow screens. */
.hmskills-site .hm-application-card .hm-auth-art { min-width:0; }
@media(max-width:767px) {
 .hmskills-site .hm-application-card { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:359px) {
 .hmskills-site .hm-application-card .hm-auth-art .hm-brand { font-size:20px; white-space:normal; }
 .hmskills-site .hm-application-card .hm-auth-art,
 .hmskills-site .hm-application-card .hm-auth-form { padding:16px; }
}