/* Build 22: established Company mobile breakpoint. Desktop faces remain intact. */
.tsr-company-page-link-label--mobile,
.tsr-company-ai-caption__break { display: none; }
.tsr-company-mobile-title-break,
.tsr-company-mobile-link-break { display: none; }

@media (max-width: 700px) {
  html body .tsr-company-last-updated.tsr-pill,
  html body :is(.tsr-company-hub-card, .tsr-blueprint-directory-card) .tsr-directory-last-updated > .tsr-company-last-updated.tsr-pill,
  html body .tsr-company-page.tsr-company-profile-v2[data-tsr-company-body][data-tsr-company-profile-v2] .tsr-company-last-updated.tsr-pill {
    box-sizing: border-box !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin-left: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--tsr-public-muted, #b9c2cb) !important;
    font: 400 .75rem/1.5 Inter, sans-serif !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-align: right !important;
  }
  html body .tsr-company-last-updated.tsr-pill > .tsr-icon,
  html body :is(.tsr-company-hub-card, .tsr-blueprint-directory-card) .tsr-directory-last-updated > .tsr-company-last-updated.tsr-pill > .tsr-icon,
  html body .tsr-company-page.tsr-company-profile-v2[data-tsr-company-body][data-tsr-company-profile-v2] .tsr-company-last-updated.tsr-pill > .tsr-icon { display: none !important; }
  html body .tsr-company-last-updated.tsr-pill > .tsr-pill-label,
  html body :is(.tsr-company-hub-card, .tsr-blueprint-directory-card) .tsr-directory-last-updated > .tsr-company-last-updated.tsr-pill > .tsr-pill-label,
  html body .tsr-company-page.tsr-company-profile-v2[data-tsr-company-body][data-tsr-company-profile-v2] .tsr-company-last-updated.tsr-pill > .tsr-pill-label {
    color: inherit !important; font: inherit !important; letter-spacing: normal !important; white-space: normal !important;
  }
  html body .tsr-company-page.tsr-company-profile-v2[data-tsr-company-body][data-tsr-company-profile-v2]:has([data-tsr-company-header-surface]) > .tsr-company-profile-hero {
    padding-top: 24px !important;
  }
  html body .tsr-company-page.tsr-company-profile-v2[data-tsr-company-body][data-tsr-company-profile-v2]:has([data-tsr-company-header-surface]) > .tsr-company-profile-hero > .tsr-company-profile-wrap {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
  }
  html body .tsr-company-page.tsr-company-profile-v2[data-tsr-company-body][data-tsr-company-profile-v2] .tsr-company-hero-heading[data-tsr-company-header-surface] {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "date" "title" "identity" !important;
    row-gap: 12px !important;
  }
  html body .tsr-company-page.tsr-company-profile-v2[data-tsr-company-body][data-tsr-company-profile-v2] .tsr-company-hero-heading[data-tsr-company-header-surface] > .tsr-company-hero-date {
    width: 100% !important; margin: 0 !important; align-self: start !important; justify-content: flex-end !important;
  }
  html body .tsr-company-page.tsr-company-profile-v2[data-tsr-company-body][data-tsr-company-profile-v2] .tsr-company-hero-heading[data-tsr-company-header-surface] > .tsr-company-page-title-row {
    display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 18px !important;
  }
  html body .tsr-company-page.tsr-company-profile-v2[data-tsr-company-body][data-tsr-company-profile-v2] .tsr-company-hero-heading[data-tsr-company-header-surface] > .tsr-company-page-title-row > .tsr-company-page-eyebrow {
    font: 700 1.375rem/1.28 Poppins, sans-serif !important;
    color: #ff9e09 !important; letter-spacing: .035em !important; text-align: center !important;
    white-space: nowrap !important;
    max-width: 100% !important;
  }
  html body .tsr-company-page.tsr-company-profile-v2[data-tsr-company-body][data-tsr-company-profile-v2] .tsr-company-hero-heading[data-tsr-company-header-surface] > .tsr-company-page-title-row > .tsr-company-blueprint-pill.tsr-pill {
    box-sizing: border-box !important; display: flex !important; width: 100% !important; flex: 0 1 auto !important;
    min-width: 0 !important; max-width: 100% !important; min-height: 48px !important; height: auto !important;
    padding: 12px 14px !important; border-radius: 12px !important;
    justify-content: center !important; text-align: center !important; gap: 0 !important;
    font: 600 .875rem/1.5 Inter, sans-serif !important; letter-spacing: normal !important;
  }
  html body .tsr-company-hero-heading[data-tsr-company-header-surface] .tsr-company-page-link-label--desktop,
  html body .tsr-company-hero-heading[data-tsr-company-header-surface] .tsr-company-page-title-row > .tsr-company-blueprint-pill > .tsr-icon { display: none !important; }
  html body .tsr-company-hero-heading[data-tsr-company-header-surface] .tsr-company-page-link-label--mobile {
    display: block !important; white-space: normal !important; font: inherit !important; letter-spacing: normal !important;
  }
  .tsr-company-profile-banner__caption .tsr-company-ai-caption {
    font: 400 var(--tsr-mobile-caption-size, .75rem)/1.5 Inter, sans-serif !important;
    text-align: center; margin: 0; letter-spacing: normal;
  }
  .tsr-company-profile-banner__caption .tsr-company-ai-caption__separator { display: none; }
  .tsr-company-profile-banner__caption .tsr-company-ai-caption__break { display: block; }
  .tsr-company-profile-banner__caption .tsr-company-ai-caption__description { white-space: normal; }
}
@media (max-width: 430px) {
  /* ESGold Profile only: a left-of-center crop retains tailings and the mill.
     Reuse the saved panorama and caption; do not affect Pathways or desktop. */
  .tsr-company-page[data-tsr-company-id="esgold"]:has([data-tsr-company-header-surface="profile"]) > .tsr-company-profile-wrap .tsr-company-profile-banner__image {
    height: clamp(67px, 21vw, 92px);
    object-fit: cover;
    object-position: 55% center;
  }
  .tsr-company-hero-heading[data-tsr-company-header-surface="pathways"] .tsr-company-mobile-title-break { display: block; }
}
@media (max-width: 360px) {
  .tsr-company-hero-heading[data-tsr-company-header-surface="profile"] .tsr-company-mobile-link-break { display: block; }
}
