.case-top-summary {
  max-width: 900px;
  margin: 34px auto 0;
  padding-block: 34px;
  border-block: 1px solid var(--ink);
}

.case-top-summary .sec-title {
  margin-top: 8px;
  text-align: left;
}

.case-top-summary__place {
  margin-top: 12px;
  color: var(--ink-soft);
}

.case-top-summary__equation {
  display: grid;
  grid-template-columns: max-content auto max-content auto max-content;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  font-weight: 700;
}

.case-top-summary__operator {
  color: var(--ink-soft);
  font-size: 1.15em;
  line-height: 1;
}

.case-top-summary__amount {
  white-space: nowrap;
}

.case-top-summary__equation strong {
  color: var(--shu);
  font-size: 1.25em;
}

.case-top-summary__note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.case-top-summary__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.case-top-summary__links a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--shu);
  background: var(--shu);
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.case-top-summary__links a:last-child {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

@media (max-width: 767px) {
  .case-top-summary {
    margin-top: 28px;
    padding-block: 28px;
  }

  .case-top-summary__equation {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .case-top-summary__operator {
    display: block;
  }

  .case-top-summary__links {
    display: grid;
    grid-template-columns: 1fr;
  }
}
