/* Mediatorius app polish v1 · 2026-09-22.
   About typography and compact Inbox header only. */
.med-about-page .med-about-inner { gap: 20px; }
.med-about-page .med-about-card {
  padding: clamp(20px, 2.1vw, 30px);
  border-radius: 20px;
}
.med-about-page .med-about-card > h2 {
  max-width: 38ch;
  margin: 8px 0 16px;
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.med-about-page .med-about-card > p {
  font-size: .94rem;
  line-height: 1.7;
}
.med-about-page .med-section-eyebrow {
  display: block;
  font-size: .67rem;
  line-height: 1.5;
  letter-spacing: .10em;
}
.med-about-page .med-process-grid,
.med-about-page .med-business-grid { gap: 14px; }
.med-about-page .med-process-grid article,
.med-about-page .med-business-grid article {
  padding: 18px;
  border-radius: 15px;
}
.med-about-page .med-process-grid b,
.med-about-page .med-business-grid b {
  font-size: .9rem;
  line-height: 1.45;
}
.med-about-page .med-process-grid span,
.med-about-page .med-business-grid span {
  margin-top: 8px;
  font-size: .85rem;
  line-height: 1.65;
}
.med-about-page .med-about-list { gap: 18px; margin-top: 20px; }
.med-about-page .med-about-list li { column-gap: 14px; }
.med-about-page .med-about-list span { line-height: 1.65; }
.med-about-page .med-business-card { scroll-margin-top: 16px; }
.med-about-page .med-about-main a:focus-visible {
  outline: 3px solid #a78240;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .med-about-page .med-about-card { padding: 20px 18px; }
  .med-about-page .med-about-inner { gap: 14px; }
  .med-inbox-page:not(.med-about-page) .med-lawyer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
  }
  .med-inbox-page:not(.med-about-page) .med-lawyer-chip {
    min-width: 0;
    max-width: 100%;
    gap: 8px;
  }
  .med-inbox-page:not(.med-about-page) .med-lawyer-chip > .med-avatar {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
  }
  .med-inbox-page:not(.med-about-page) .med-lawyer-chip > div { min-width: 0; }
  .med-inbox-page:not(.med-about-page) .med-lawyer-chip strong {
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .med-inbox-page:not(.med-about-page) .med-lawyer-chip span[data-i18n="tq_role"] {
    max-width: none;
    white-space: normal;
    overflow: visible;
    line-height: 1.4;
    font-size: .67rem;
  }
  .med-inbox-page:not(.med-about-page) .med-lawyer-status {
    max-width: none;
    min-width: 0;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
  }
  .med-inbox-page:not(.med-about-page) .med-lawyer-status .med-active-pill {
    box-sizing: border-box;
    min-height: 28px;
  }
  .med-inbox-page:not(.med-about-page) .med-lawyer-status a.med-active-pill {
    min-height: 40px;
    min-width: 68px;
    justify-content: center;
  }
}
