/* Scoped to enhanced match excerpts; no change to paywalls or unrelated articles. */
.zc-art-body .zc-match-inline .zc-match-excerpt {
  position: relative;
  max-height: 5.4em;
  margin-bottom: 2px !important;
  overflow: hidden;
  line-height: 1.8 !important;
}
.zc-art-body .zc-match-inline .zc-match-excerpt::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  /* Fade gently from line one through the entire (up to three-line) excerpt. */
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .08), rgba(255, 255, 255, .5) 55%, #fff);
  pointer-events: none;
}
.zc-art-body .zc-match-inline [hidden] { display: none !important; }
.zc-art-body .zc-match-inline { margin-bottom: 0 !important; }
.zc-art-body .zc-match-inline + .zc-match-separator {
  margin: 4px 0 16px !important;
}
.zc-art-body .zc-match-inline .zc-match-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 14px;
  margin: 0;
}
.zc-art-body .zc-match-inline .zc-match-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 148px;
  margin: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  color: #235c91;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  touch-action: manipulation;
}
.zc-art-body .zc-match-inline .zc-match-toggle:hover { background: #f6fafd; color: #16436c; }
.zc-art-body .zc-match-inline .zc-match-toggle:disabled { cursor: progress; color: #58636d; }
.zc-art-body .zc-match-inline .zc-match-toggle:focus-visible,
.zc-art-body .zc-match-inline .zc-match-details:focus-visible {
  outline: 2px solid #235c91;
  outline-offset: 2px;
}
.zc-art-body .zc-match-inline .zc-match-details {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 8px;
  color: #235c91;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.zc-art-body .zc-match-inline .zc-match-full p {
  margin: 5px 0 12px;
  color: #222;
  font-size: 11pt;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.zc-art-body .zc-match-inline .zc-match-full sup { color: #b74350; font-size: .76em; line-height: 0; }
.zc-art-body .zc-match-inline .zc-match-status {
  margin: 4px 0;
  color: #58636d;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
