/* =========================================================
   investor03.css
   用途：月營收資訊頁（Investor_financial_03.aspx）
   作用範圍：.investor-revenue-content
========================================================= */

.investor-financial-page .investor-revenue-content {
  --inv-primary: #0c596f;
  --inv-accent: #19a7b8;
  --inv-text: #1a3040;
  --inv-muted: #7a94a3;
  --inv-border: #dce4ea;
}

.investor-revenue-content {
  width: 100%;
}

.investor-revenue-content .revenue-lead {
  margin-bottom: 1.5rem;
  color: var(--inv-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.investor-revenue-content .revenue-lead a {
  color: var(--inv-primary);
  font-weight: 700;
  text-decoration: underline;
}

.investor-revenue-content .revenue-lead a:hover {
  color: var(--inv-accent);
}

.investor-revenue-content .zenlogic-steps {
  display: flex;
  overflow: hidden;
  line-height: 1.5;
  border: 2px solid var(--inv-primary);
  padding: 0;
  margin: 0 0 2rem;
}

.investor-revenue-content .zenlogic-steps .step {
  flex: 1;
  color: var(--inv-muted);
  padding: 10px 0 10px 55px;
  margin: 0;
  background: #fff;
  position: relative;
  font-size: 15px;
}

.investor-revenue-content .zenlogic-steps .step:first-child {
  padding-left: 20px;
}

.investor-revenue-content .zenlogic-steps .step:last-child {
  padding-right: 10px;
}

.investor-revenue-content .zenlogic-steps .step.active {
  background-color: var(--inv-primary);
  color: #fff;
}

.investor-revenue-content .zenlogic-steps .step.active:after {
  border-left-color: var(--inv-primary);
}

.investor-revenue-content .zenlogic-steps .step:after {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-top: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-left: 30px solid #fff;
  position: absolute;
  top: 50%;
  margin-top: -50px;
  left: 100%;
  z-index: 2;
}

.investor-revenue-content .zenlogic-steps .step:before {
  content: " ";
  display: block;
  width: 0;
  height: 0;
  border-top: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-left: 30px solid #fff;
  position: absolute;
  top: 50%;
  margin-top: -50px;
  margin-left: 2px;
  left: 100%;
  z-index: 1;
}

.investor-revenue-content .revenue-figure {
  text-align: center;
  margin-top: 1.5rem;
}

.investor-revenue-content .revenue-figure img {
  max-width: 100%;
  height: auto;
  padding: 1rem;
  border: 1px solid var(--inv-border);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(7, 41, 56, 0.08);
}

@media (max-width: 1199.98px) {
  .investor-revenue-content .zenlogic-steps {
    overflow: visible;
    border: none;
    flex-direction: column;
    gap: 0;
  }

  .investor-revenue-content .zenlogic-steps .step {
    padding: 10px 15px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.8);
  }

  .investor-revenue-content .zenlogic-steps .step:first-child {
    padding-left: 15px;
  }

  .investor-revenue-content .zenlogic-steps .step:last-child {
    padding-right: 15px;
    border-bottom: 0;
  }

  .investor-revenue-content .zenlogic-steps .step br {
    display: none;
  }

  .investor-revenue-content .zenlogic-steps .step:after,
  .investor-revenue-content .zenlogic-steps .step:before {
    display: none;
  }
}
