@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
.mol-info-embed {
  --mol-green: #449b54;
  --mol-hover: #ffd03c;
  --mol-text: #1f2933;
  --mol-muted-line: rgba(110, 124, 130, 0.2);
  color: var(--mol-text);
  font-family:
    "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
  margin: 0 auto;
  max-width: 1000px;
}

.mol-info-embed {
  background-color: var(--mol-green);
}

.mol-info-embed,
.mol-info-embed * {
  box-sizing: border-box;
}

.mol-info-embed__stage {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 1000 / 1040;
  overflow: hidden;
}

.mol-info-embed__stage-bg-pc {
  display: block;
  position: absolute;
  object-fit: contain;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

.mol-info-embed__stage-bg-mobile-top,
.mol-info-embed__stage-bg-mobile-bottom {
  display: none;
}

.mol-info-card {
  position: absolute;
  z-index: 1;
  left: var(--desktop-left);
  top: var(--desktop-top);
  z-index: var(--desktop-z, 1);
  display: block;
  width: var(--desktop-width);
  text-decoration: none;
  container-type: inline-size;
}

.mol-info-card__image {
  display: block;
  width: 100%;
  height: auto;
  opacity: 1;
  pointer-events: none;
  user-select: none;
}

.mol-info-card__panel {
  position: absolute;
  left: var(--panel-left);
  bottom: var(--panel-bottom);
  display: flex;
  width: var(--panel-width);
  height: var(--panel-height);
  padding: 0 5% 0;
  overflow: hidden;
}

.mol-info-card__items {
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.mol-info-card__items li {
  display: grid;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: var(--row-pad-y, 0) var(--row-pad-x, 5%);
  border-bottom: 1px dashed var(--mol-muted-line);
  font-size: var(--panel-font-size, 5.3cqw);
  font-weight: 400;
  line-height: var(--row-line-height, 1.38);
  letter-spacing: 0;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
  transition: linear 0.3s;
  transition-property: background;
}

.mol-info-card__items li:hover {
  background-color: var(--mol-hover);
}

.mol-info-card__items li:last-child {
  border-bottom: 0;
}

.mol-info-card__items a {
  display: grid;
  align-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.mol-info-card[data-key="subsidy"] {
  --desktop-left: 0.5%;
  --desktop-top: 4.3%;
  --desktop-width: 25%;
  --desktop-z: 2;
  --panel-left: 4.8%;
  --panel-bottom: 4.05%;
  --panel-width: 90.15%;
  --panel-height: 69.31%;
  --panel-font-size: 5.05cqw;
  --row-pad-y: 0;
  --row-pad-x: 5%;
  --row-line-height: 1.28;
}

.mol-info-card[data-key="training"] {
  --desktop-left: 25.3%;
  --desktop-top: 31.2%;
  --desktop-width: 25.3%;
  --desktop-z: 3;
  --panel-left: 4%;
  --panel-bottom: 11.7%;
  --panel-width: 90.15%;
  --panel-height: 54.1%;
  --panel-font-size: 5.2cqw;
  --row-pad-y: 0;
  --row-pad-x: 5%;
  --row-line-height: 1.32;
}

.mol-info-card[data-key="startup"] {
  --desktop-left: 49.9%;
  --desktop-top: 36.6%;
  --desktop-width: 25%;
  --desktop-z: 4;
  --panel-left: 4.6%;
  --panel-bottom: 4.2%;
  --panel-width: 90.15%;
  --panel-height: 58.12%;
  --panel-font-size: 5.45cqw;
  --row-pad-y: 0;
  --row-pad-x: 5%;
  --row-line-height: 1.34;
}

.mol-info-card[data-key="work"] {
  --desktop-left: 74.5%;
  --desktop-top: 6.6%;
  --desktop-width: 25%;
  --desktop-z: 2;
  --panel-left: 4.15%;
  --panel-bottom: 14.3%;
  --panel-width: 90.15%;
  --panel-height: 58.8%;
  --panel-font-size: 4.85cqw;
  --row-pad-y: 0;
  --row-pad-x: 5%;
  --row-line-height: 1.28;
}

@media (max-width: 768px) {
  .mol-info-embed {
    max-width: 100%;
    background-color: var(--mol-green);
  }

  .mol-info-embed__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
  }

  .mol-info-card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: var(--mobile-max, 92%);
    margin: 0 auto var(--mobile-gap, 22px);
    transform: none;
  }

  .mol-info-embed__stage-bg-pc {
    display: none !important;
  }

  .mol-info-embed__stage-bg-mobile-top,
  .mol-info-embed__stage-bg-mobile-bottom {
    display: block;
    width: 100%;
  }

  .mol-info-embed__stage-bg-mobile-top {
    margin-bottom: -29%;
  }

  .mol-info-embed__stage-bg-mobile-bottom {
    margin-top: -65%;
  }
}
