/* Data Hub responsive layer. Keeps the existing navy/gold surface while
   allowing the nav and download cards to reflow inside narrow viewports. */

body[data-editorial="on"] .hero p,
body[data-editorial="on"] .hero .hero-source,
body[data-editorial="on"] .section-sub,
body[data-editorial="on"] .dl-desc,
body[data-editorial="on"] .disc-band p {
  font-family: 'Inter', 'Noto Sans SC', sans-serif !important;
  font-size: 15px !important;
  font-style: normal !important;
  line-height: 1.7 !important;
}

@media (max-width: 760px) {
  .nav-inner {
    min-height: 64px;
    height: auto;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links {
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
    margin-top: 8px;
  }

  .nav-links a {
    max-width: 100%;
    padding: 6px 8px;
    font-size: 12px;
    line-height: 1.25;
    white-space: normal;
  }

  .nav-links .nav-cta {
    padding: 7px 10px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero-source {
    overflow-wrap: anywhere;
  }

  .dl-card {
    min-width: 0;
    padding: 24px 20px 20px;
  }

  .dl-actions {
    min-width: 0;
  }

  .dl-meta span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .dl-btn {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }
}
