/* Centrin: additions scoped to the cooperation section and news items. */
.centrin-section {
  background: var(--paper);
  scroll-margin-top: 160px;
}

.centrin-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  margin-bottom: 30px;
}

.centrin-heading p:last-child {
  max-width: 740px;
  margin-bottom: 0;
}

.centrin-logo {
  width: 240px;
  max-width: 100%;
  height: auto;
}

.centrin-location {
  box-shadow: none;
  background: var(--soft);
}

.centrin-location--planned {
  background: var(--sand);
}

.centrin-location h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.65rem);
}

.centrin-status {
  display: inline-block;
  margin: 0 0 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #d8eaf8;
  color: var(--primary-dark);
  font-size: .85rem;
  font-weight: 800;
}

.centrin-status--planned {
  background: #e3e8ec;
  color: #465b6d;
}

.centrin-location .centrin-booking {
  margin-bottom: 0;
  color: var(--ink);
}

.centrin-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.centrin-contact p {
  max-width: 800px;
  margin-bottom: 0;
}

.centrin-inline-link {
  color: var(--primary-dark);
  font-weight: 800;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.centrin-call {
  white-space: nowrap;
}

.centrin-hero-link {
  margin: 16px 0 0;
}

.centrin-hero-link .text-link {
  margin-top: 0;
}

.centrin-news-logo {
  width: 160px;
  height: auto;
  margin: 18px 0 24px;
}

.centrin-news-panel {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 38px;
}

.centrin-news-panel h3 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .centrin-heading,
  .centrin-contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .centrin-call {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .centrin-logo {
    width: 200px;
  }

  .centrin-news-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .centrin-contact {
    padding: 24px;
    border-radius: 22px;
  }

  .centrin-call {
    white-space: normal;
  }
}
