.companies-page,
.company-page { --company-blue: #136f8c; --company-pale: #e9f4f7; }

.companies-hero-board { overflow: hidden; border-radius: 10px; background: #fff; color: var(--profession-ink); }
.companies-hero-board > header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 19px; border-bottom: 1px solid var(--profession-line); background: #f3f6f9; font-size: 10px; font-weight: 850; letter-spacing: .05em; }
.companies-hero-board > header span { display: flex; align-items: center; gap: 8px; }
.companies-hero-board > header i { color: var(--gyg-orange); }
.companies-hero-board > header small { color: #63768d; font-size: 9px; }
.companies-hero-flow { display: grid; grid-template-columns: 1fr 18px 1fr 18px 1fr; gap: 8px; align-items: center; padding: 20px 18px; }
.companies-hero-flow > span { min-width: 0; min-height: 96px; display: grid; place-items: center; align-content: center; padding: 11px; border: 1px solid var(--profession-line); border-radius: 8px; text-align: center; }
.companies-hero-flow > span i { color: var(--company-blue); font-size: 18px; }
.companies-hero-flow > span b { margin-top: 8px; font-size: 11px; }
.companies-hero-flow > span small { margin-top: 3px; color: #64778d; font-size: 8px; }
.companies-hero-flow > i { color: var(--gyg-orange); font-size: 10px; }
.companies-hero-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 0 18px 18px; }
.companies-hero-list span { min-width: 0; display: flex; align-items: center; gap: 7px; padding: 9px; background: var(--company-pale); color: #24435f; font-size: 9px; font-weight: 800; }
.companies-hero-list i { color: var(--company-blue); }
.companies-hero-board > footer { display: flex; align-items: center; gap: 9px; padding: 14px 19px; background: #102c54; color: #fff; font-size: 9px; }
.companies-hero-board > footer i { color: var(--gyg-yellow); }

.company-hero-team { display: grid; grid-template-columns: 35px 1fr; gap: 11px; align-items: center; margin: 16px 22px 0; padding: 11px 13px; background: #f3f6f9; }
.company-hero-team > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: var(--profession-pale); color: var(--profession-accent); }
.company-hero-team small, .company-hero-team b { display: block; }
.company-hero-team small { color: #65788d; font-size: 8px; font-weight: 850; }
.company-hero-team b { margin-top: 3px; font-size: 10px; }
.company-hero-case .profession-hero-job { padding-top: 15px; }

.company-difference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.company-difference-grid article { display: grid; grid-template-columns: 54px 1fr; gap: 17px; padding: 28px; border: 1px solid var(--profession-line); border-top: 4px solid #708399; border-radius: 10px; }
.company-difference-grid article:last-child { border-top-color: var(--company-blue); background: #f4f8fa; }
.company-difference-grid article > i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 8px; background: #eef2f5; color: #526a80; font-size: 20px; }
.company-difference-grid article:last-child > i { background: var(--company-pale); color: var(--company-blue); }
.company-difference-grid small { color: var(--company-blue); font-size: 9px; font-weight: 900; letter-spacing: .05em; }
.company-difference-grid h3 { margin: 9px 0; font-size: 22px; }
.company-difference-grid p { margin: 0 0 16px; color: #5d7187; font-size: 13px; line-height: 1.65; }
.company-difference-grid a { color: #087a9b; font-size: 12px; font-weight: 850; }
.company-difference-grid a i { margin-left: 6px; color: var(--gyg-orange); }
.company-difference aside { display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: center; margin-top: 18px; padding: 17px 19px; border: 1px solid #cddce4; background: #f4f8fa; }
.company-difference aside > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 7px; background: #dceef3; color: var(--company-blue); }
.company-difference aside p { margin: 0; color: #506980; font-size: 12px; line-height: 1.6; }

.company-directory-card > p { color: var(--company-blue); font-weight: 750; }
.company-handoff-flow { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr; gap: 10px; align-items: center; }
.company-handoff-flow > span { min-width: 0; min-height: 150px; display: grid; place-items: center; align-content: center; padding: 18px; border: 1px solid var(--profession-line); border-top: 4px solid var(--profession-accent); border-radius: 9px; text-align: center; }
.company-handoff-flow > span > i { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 8px; background: var(--profession-pale); color: var(--profession-accent); font-size: 17px; }
.company-handoff-flow b, .company-handoff-flow small { display: block; }
.company-handoff-flow b { margin-top: 12px; font-size: 15px; }
.company-handoff-flow small { margin-top: 4px; color: #61758a; font-size: 10px; }
.company-handoff-flow > i { color: var(--gyg-orange); font-size: 12px; }

@media (max-width: 900px) {
  .company-handoff-flow { grid-template-columns: 1fr 20px 1fr; }
  .company-handoff-flow > i:nth-of-type(2) { display: none; }
  .company-handoff-flow > span:nth-of-type(3), .company-handoff-flow > span:nth-of-type(4) { margin-top: 10px; }
}

@media (max-width: 680px) {
  .companies-hero-flow { grid-template-columns: 1fr; }
  .companies-hero-flow > i { transform: rotate(90deg); justify-self: center; }
  .companies-hero-list { grid-template-columns: 1fr 1fr; }
  .company-difference-grid { grid-template-columns: 1fr; }
  .company-difference-grid article { grid-template-columns: 46px 1fr; padding: 22px 18px; }
  .company-difference-grid article > i { width: 44px; height: 44px; }
  .company-difference aside { align-items: start; }
  .company-handoff-flow { grid-template-columns: 1fr; }
  .company-handoff-flow > i { display: block !important; transform: rotate(90deg); justify-self: center; }
  .company-handoff-flow > span:nth-of-type(3), .company-handoff-flow > span:nth-of-type(4) { margin-top: 0; }
}
