.compact-company {
  color: var(--text, #253b49);
  background: #f1f5f8;
  border-bottom: 1px solid var(--line, #ced9e0);
}

.compact-company__inner { padding-block: 32px 30px; }
.compact-company__crumbs { margin-bottom: 14px; }
.compact-company__crumbs .breadcrumbs {
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
  gap: 6px;
  font-size: 11px;
  line-height: 1.5;
}
.compact-company__crumbs .breadcrumbs > a,
.compact-company__crumbs .breadcrumbs > span:not([aria-current]) { flex-shrink: 0; }
.compact-company__crumbs [aria-current] {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-company__identity {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  min-height: 120px;
}
.compact-company__identity.compact-company__identity--without-mark { grid-template-columns: minmax(0, 1fr); }
.compact-company__presentation { min-width: 0; }
.compact-company__presentation--with-photo {
  --company-feature-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 40%);
  max-width: 1100px;
  margin-inline: auto;
  gap: 24px;
  align-items: center;
}
.compact-company__presentation--portrait { grid-template-columns: minmax(0, 1fr) 320px; }
.compact-company__feature { width: 100%; max-width: 440px; margin: 0; justify-self: end; }
.compact-company__feature img { width: 100%; height: auto; max-width: 100%; max-height: 300px; margin-inline: auto; object-fit: contain; border-radius: 5px; }
.compact-company__presentation--portrait .compact-company__feature img { width: auto; height: var(--company-feature-height); }
.compact-company__feature figcaption { margin-top: 8px; color: var(--muted, #526b7d); font-size: 11px; line-height: 1.5; text-align: center; }
.compact-company__feature figcaption a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.compact-company__mark { width: 148px; }
.compact-company__mark .company-logo {
  width: 100%;
  height: 112px;
  min-height: 0;
  padding: 8px;
  background: #fff;
}
.compact-company__mark .company-logo.dark-logo { background: #18313f; }
.compact-company__mark .company-logo img {
  width: 100%;
  height: 96px;
  object-fit: contain;
}
.compact-company__mark .name-tile { font-size: 42px; line-height: 1; }
.compact-company__mark .company-logo > .name-tile { width: 100%; height: 100%; min-height: 0; }
.compact-company__name-block { min-width: 0; }
.compact-company__name-block h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(48px, 4.4vw, 62px);
  line-height: 1.03;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}
.compact-company__name-block--long-name h1 {
  font-size: clamp(38px, 3.2vw, 46px);
  line-height: 1.08;
}
.compact-company__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 16px;
  margin-top: 12px;
}
.compact-company__descriptor {
  min-width: 0;
  flex-basis: 100%;
  max-width: 100%;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.compact-company__meta .rating { gap: 5px; font-size: 14px; line-height: 1.5; }
.compact-company__notice {
  margin: 5px 0 0;
  color: #8c3228;
  font-size: 12px;
  line-height: 1.5;
}

.compact-company__identity-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 16px;
}
.compact-company__identity-actions .compact-company__action { flex: 0 1 auto; }

.compact-company__contact-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line, #ced9e0);
}
.compact-company__action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--line, #ced9e0);
  border-radius: 3px;
  color: var(--ink, #183c5a);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.compact-company__phone {
  color: #fff;
  border-color: var(--blue, #175dab);
  background: var(--blue, #175dab);
}
.compact-company__phone:hover { color: #fff; background: var(--blue-dark, #10467f); }
.compact-company__website:hover { border-color: var(--blue, #175dab); background: #fff; }
.compact-company__claim {
  padding-inline: 8px;
  border-color: transparent;
  background: transparent;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.compact-company__claim:hover { color: var(--blue, #175dab); background: #e7eff5; }
.compact-company__detail {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 44px;
  color: var(--text, #253b49);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}
.compact-company__location { flex: 1 1 240px; }
a.compact-company__location:hover .compact-company__location-text {
  color: var(--blue, #175dab);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.compact-company__hours { flex: 0 1 240px; }
.compact-company__hours [data-hours-id] {
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}
.compact-company__action > .icon,
.compact-company__location > .icon,
.compact-company__clock {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.compact-company a:focus-visible {
  outline: 3px solid #9b690a;
  outline-offset: 3px;
}

@media (max-width: 960px) {
  .compact-company__presentation--with-photo { --company-feature-height: 250px; display: block; max-width: none; margin-inline: 0; }
  .compact-company__feature { max-width: none; margin-top: 24px; }
  .compact-company__feature img { height: 250px; }
  .compact-company__identity { grid-template-columns: 112px minmax(0, 1fr); gap: 22px; }
  .compact-company__mark { width: 112px; }
  .compact-company__mark .company-logo { height: 96px; padding: 7px; }
  .compact-company__mark .company-logo img { height: 82px; }
  .compact-company__name-block h1 { font-size: 46px; }
  .compact-company__contact-bar {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 6px;
  }
  .compact-company__action { min-width: 0; padding-inline: 6px; font-size: 12px; }
  .compact-company__phone { grid-column: span 5; }
  .compact-company__website { grid-column: span 3; }
  .compact-company__claim { grid-column: span 4; }
  .compact-company__contact-bar--actions-2 .compact-company__action { grid-column: span 6; }
  .compact-company__contact-bar--actions-1 .compact-company__action { grid-column: 1 / -1; }
  .compact-company__action > .icon { display: none; }
  .compact-company__detail { grid-column: span 6; font-size: 13px; }
  .compact-company__contact-bar--details-1 .compact-company__detail { grid-column: 1 / -1; }
  .compact-company__location-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .compact-company__hours [data-hours-id] { font-size: 13px; }
}

@media (max-width: 600px) {
  .compact-company__presentation--with-photo { --company-feature-height: 210px; }
  .compact-company__inner { padding-block: 30px; }
  .compact-company__identity { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; }
  .compact-company__mark { width: 88px; }
  .compact-company__mark .company-logo { height: 88px; padding: 6px; }
  .compact-company__mark .company-logo img { height: 76px; }
  .compact-company__mark .name-tile { font-size: 30px; }
  .compact-company__name-block h1 { font-size: 38px; line-height: 1.06; }
  .compact-company__name-block--long-name h1 { font-size: 32px; line-height: 1.1; }
  .compact-company__descriptor { font-size: 14px; }
  .compact-company__meta { gap: 7px 10px; margin-top: 10px; }
  .compact-company__meta .rating { font-size: 13px; }
  .compact-company__feature img { height: 210px; }
  .compact-company__contact-bar { gap: 10px 6px; margin-top: 18px; padding-top: 18px; }
}

@media (max-width: 350px) {
  .compact-company__identity { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  .compact-company__mark { width: 80px; }
  .compact-company__mark .company-logo { height: 80px; }
  .compact-company__mark .company-logo img { height: 68px; }
  .compact-company__name-block h1 { font-size: 36px; }
  .compact-company__name-block--long-name h1 { font-size: 30px; }
}
