* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background: #fff;
  color: #0758bd;
}

body.h5-renderer-body {
  overflow: hidden;
}

.h5r-root,
.h5r-page {
  width: 100%;
  min-height: 100vh;
}

.h5r-page {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f8ffff;
  scrollbar-width: none;
}

.h5r-page::-webkit-scrollbar {
  display: none;
}

.h5r-loading,
.h5r-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #334155;
  font-size: 14px;
  text-align: center;
}

.h5r-shell {
  width: 100%;
  max-width: 537px;
  margin-right: auto;
  margin-left: auto;
  overflow-x: hidden;
}

.h5r-component {
  width: 100%;
}

.h5r-image img {
  display: block;
  width: 100%;
  max-width: 100%;
}

.h5r-placeholder {
  display: grid;
  width: 100%;
  min-height: 120px;
  place-items: center;
  border: 1px dashed rgba(25, 90, 181, 0.32);
  background: rgba(255, 255, 255, 0.68);
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}

.h5r-container {
  min-height: 48px;
}

.h5r-button {
  appearance: none;
  display: block;
  min-height: 40px;
  margin: 12px 20px;
  padding: 9px 16px;
  border: 1px solid rgba(25, 90, 181, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #195ab5;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.h5r-image--decor {
  height: 68.75px;
  overflow: hidden;
}

.h5r-image--decor img {
  height: 68.75px;
  object-fit: cover;
  object-position: center top;
}

.h5r-entry-section {
  height: var(--h5r-entry-section-height, 561px);
  min-height: var(--h5r-entry-section-height, 561px);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
}

.h5r-entry-section.is-compact-entry-grid {
  --h5r-entry-section-height: 492px;
}

.h5r-entry-section.is-auto-entry-grid {
  height: auto;
  min-height: 0;
}

.h5r-entry-section.is-auto-entry-grid .h5r-entry-grid {
  grid-auto-rows: 138px;
}

.h5r-entry-section.is-auto-entry-grid .h5r-entry {
  height: 138px;
}

.h5r-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 92px);
  grid-auto-rows: 130px;
  justify-content: space-between;
  row-gap: var(--h5r-row-gap, 7px);
  column-gap: var(--h5r-column-gap, 0);
  padding: 25px 30px 0;
}

.h5r-entry {
  appearance: none;
  width: 92px;
  min-width: 0;
  height: 130px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--h5r-entry-text-color, #195ab5);
  cursor: default;
  display: block;
  position: relative;
  text-align: center;
  font: inherit;
}

.h5r-entry[data-action-kind="page"],
.h5r-entry[data-action-kind="external"],
.h5r-entry[data-action-kind="asset"],
.h5r-entry[data-action-kind="phone"] {
  cursor: pointer;
}

.h5r-entry-icon {
  display: grid;
  place-items: center;
  position: absolute;
  top: 0;
  left: 6px;
  width: 82px;
  height: 82px;
  border: 1px solid var(--h5r-entry-icon-border-color, #195ab5);
  border-radius: 999px;
  overflow: hidden;
}

.h5r-entry-icon img {
  display: block;
  width: var(--h5r-icon-size, 80px);
  height: var(--h5r-icon-size, 80px);
  object-fit: contain;
}

.h5r-entry-icon.is-cropped-image img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.h5r-entry-icon.is-empty::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(25, 90, 181, 0.14);
  -webkit-mask: linear-gradient(#000 0 0) center / 2px 100% no-repeat, linear-gradient(#000 0 0) center / 100% 2px no-repeat;
  mask: linear-gradient(#000 0 0) center / 2px 100% no-repeat, linear-gradient(#000 0 0) center / 100% 2px no-repeat;
}

.h5r-entry-title,
.h5r-entry-subtitle {
  display: block;
  width: 92px;
  color: var(--h5r-entry-text-color, #195ab5);
  word-break: keep-all;
  position: absolute;
}

.h5r-entry-title {
  top: 86px;
  left: 0;
  width: 89px;
  height: 17px;
  font-size: 15px;
  font-weight: 800;
  line-height: 17px;
  white-space: nowrap;
}

.h5r-entry-subtitle {
  top: 103px;
  left: 0;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.h5r-download-list {
  min-height: calc(100vh - 210px);
  padding: 32px 26px 48px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.h5r-download-button {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0 0 14px;
  padding: 11px 14px;
  border: 1px solid var(--h5r-download-border-color, rgba(25, 90, 181, 0.45));
  border-radius: 999px;
  background: var(--h5r-download-bg-color, rgba(255, 255, 255, 0.86));
  color: var(--h5r-download-text-color, #195ab5);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  cursor: pointer;
}

.h5r-text {
  padding: 16px 20px;
  color: #195ab5;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .h5r-page {
    width: 100vw;
    background: #fff;
  }

  .h5r-entry-section {
    height: max(var(--h5r-entry-section-height, 561px), calc(100vh - 400.5px));
  }

  .h5r-entry-section.is-compact-entry-grid {
    height: var(--h5r-entry-section-height, 492px);
    min-height: var(--h5r-entry-section-height, 492px);
  }

  .h5r-entry-section.is-auto-entry-grid {
    height: auto;
    min-height: 0;
  }

  .h5r-image--decor {
    height: 98.45px;
  }

  .h5r-image--decor img {
    height: 98.45px;
  }
}
