:root {
  --type-label: 16px;
  --type-body: 18px;
  --type-lead: 22px;
  --type-card: 30px;
  --type-subtitle: 40px;
  --type-section: 56px;
  --type-display: 88px;
}
@media (max-width: 767px) {
  :root {
    --type-label: 16px;
    --type-body: 17px;
    --type-lead: 20px;
    --type-card: 26px;
    --type-subtitle: 32px;
    --type-section: 40px;
    --type-display: 48px;
  }
}
/* Keep the hierarchy consistent across the legacy page-specific stylesheets. */
@layer typography {
  body { font-size: var(--type-label) !important; line-height: 1.5 !important; }
  body :where(div, section, article, header, footer, nav, aside, ul, ol, li, dl, dt, dd, th, td, a, span, b, i, em, strong, label, summary, time, blockquote, small, figcaption):not([aria-hidden="true"]) {
    font-size: inherit !important;
    line-height: inherit !important;
  }
  p { font-size: var(--type-body) !important; line-height: 1.5 !important; max-inline-size: min(100%,70ch) !important; }
  button, input, select, textarea, .kicker, .pill, .figures-date { font-size: var(--type-label) !important; line-height: 1.5 !important; }
  h1, h2, h3, h4, h5, h6, .firm-figures li strong { line-height: 1.1 !important; }
  h1 { font-size: var(--type-display) !important; }
  h2, .firm-figures li strong { font-size: var(--type-section) !important; }
  h3 { font-size: var(--type-card) !important; }
  h4, .hero-deck { font-size: var(--type-lead) !important; }
  h5, h6, footer h3 { font-size: var(--type-body) !important; }
  .menu-pane h2, .strategy-group h3 { font-size: var(--type-subtitle) !important; }
  .footer-legal, .hero-sky-credit { font-size: 14px !important; }
}

body :is(.kicker, .kicker time, .context-detail, .brand-detail-sector, .wire-meta, .figures-date) {
  text-transform: none !important;
  letter-spacing: normal;
}

@layer typography {
  .ec-equity .equity-scale li strong {
    font-family: var(--ser);
    font-size: clamp(4.5rem, 8vw, 9rem) !important;
    line-height: .95 !important;
    font-weight: 400;
    letter-spacing: -.045em;
    color: #10374d;
  }
  .ec-equity .equity-scale li span {
    font-size: var(--type-body) !important;
    line-height: 1.3 !important;
  }
}
@media (max-width: 720px) {
  .ec-equity .equity-scale ul { grid-template-columns: 1fr; }
  .ec-equity .equity-scale li { padding-block: 1rem; }
}

@layer typography {
  .ec-entries.ec-credit-types dt {
    font-size: clamp(1.65rem, 2.1vw, 2.25rem) !important;
    line-height: 1.12 !important;
    text-wrap: balance;
  }
}

#sectores .infra-sector-cards > div { border: 0; padding: 0; }
#sectores .infra-sector-cards img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  margin-bottom: 1rem;
}
#sectores .infra-sector-cards { row-gap: clamp(2rem, 4vw, 4rem); }
@layer typography {
  #sectores .infra-sector-cards dt { font-size: clamp(1.75rem, 2.4vw, 2.5rem) !important; line-height: 1.1 !important; }
}
@media (max-width: 680px) {
  #sectores .infra-sector-cards { grid-template-columns: 1fr; }
}
