.hrm-guide-page {
  max-width: 1440px;
  min-height: calc(100vh - 58px);
  margin: 0 auto;
  padding: 20px;
  background: #f4f7f8;
}

.guide-header,
.guide-flow,
.guide-card {
  border: 1px solid #dfe8ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(28, 45, 56, .05);
}

.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.guide-header h2,
.guide-card h3 {
  margin: 0;
  color: #22313f;
  font-weight: 900;
}

.guide-header h2 {
  font-size: 24px;
}

.guide-header p,
.guide-card p {
  margin: 5px 0 0;
  color: #647681;
  font-size: 13px;
  line-height: 1.8;
}

.guide-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #dfe8ec;
}

.guide-flow a {
  display: grid;
  gap: 4px;
  min-height: 104px;
  padding: 12px;
  background: #fff;
  color: #40545e;
  text-decoration: none;
}

.guide-flow i {
  color: #197465;
  font-size: 20px;
}

.guide-flow strong {
  color: #22313f;
  font-size: 14px;
}

.guide-flow span {
  color: #647681;
  font-size: 12px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.guide-card {
  padding: 16px;
}

.guide-card-wide {
  grid-column: 1 / -1;
}

.guide-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.guide-card-head i {
  color: #197465;
  font-size: 19px;
}

.guide-card h3 {
  font-size: 17px;
}

.guide-card a {
  color: #126b5c;
  font-weight: 900;
}

.guide-card ul,
.guide-card ol {
  margin: 8px 0 0;
  padding-inline-start: 22px;
  color: #40545e;
  font-size: 13px;
  line-height: 1.9;
}

.guide-relation,
.guide-stack {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.guide-relation {
  align-items: center;
}

.guide-relation span,
.guide-stack span {
  padding: 6px 9px;
  border: 1px solid #d8e5e9;
  border-radius: 8px;
  background: #f8fbfc;
  color: #40545e;
  font-size: 12px;
  font-weight: 900;
}

.guide-relation i {
  color: #197465;
}

.guide-stack {
  display: grid;
}

@media (max-width: 1000px) {
  .guide-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hrm-guide-page {
    padding: 12px;
  }

  .guide-header {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-flow,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}
