/* Cooperation cards; the rest of the site keeps the theme's styles. */
.cooperation-partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.cooperation-partner {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--color-border, currentColor);
  border-radius: 12px;
}

.cooperation-partner:last-child {
  grid-column: 1 / -1;
}

/* Keep the original logo colors readable in both light and dark themes. */
.cooperation-partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
}

.cooperation-partner-logo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  margin: 0;
  cursor: default;
}

.cooperation-partner h3 {
  margin: 1rem 0 0.75rem;
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.cooperation-partner p {
  margin: 0;
}

@media (max-width: 800px) {
  .cooperation-partners {
    grid-template-columns: minmax(0, 1fr);
  }
}
