.partners-section {
  background: #f6f5f1;
}

.partners-container {
  max-width: 1320px;
}

.partners-content-card {
  width: 100%;
}

.partners-page-header {
  max-width: 900px;
  margin-bottom: 2.5rem;
}

.partners-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #587080;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partners-page-header h1 {
  margin-bottom: 1rem;
}

.partners-page-header p {
  max-width: 760px;
  margin: 0;
  color: #5f6d75;
  font-size: 1.04rem;
  line-height: 1.8;
}

.partners-grid > div {
  display: flex;
}

.partner-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(37, 61, 77, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(37, 61, 77, 0.07);
}

.partner-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 2.25rem;
  border-bottom: 1px solid rgba(37, 61, 77, 0.08);
  background: #f3f8f8;
}

.partner-logo {
  display: block;
  width: 600px;
  max-width: 100%;
  height: 400px;
  max-height: none;
  object-fit: contain;
}

.partner-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2rem;
}

.partner-card-body h2 {
  margin: 0 0 0.85rem;
  color: #253d4d;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.partner-description {
  margin: 0 0 1.4rem;
  color: #64727a;
  line-height: 1.75;
}

.partner-details {
  display: grid;
  gap: 0.72rem;
  margin-bottom: 1.5rem;
}

.partner-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #405866;
  font-size: 0.94rem;
  line-height: 1.45;
  text-decoration: none;
}

a.partner-detail:hover {
  color: #1a86a5;
}

.partner-detail .material-symbols-rounded,
.partner-detail > i {
  flex: 0 0 auto;
  margin-top: 0.05rem;
  color: #1a86a5;
  font-size: 1.25rem;
}

.partner-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(37, 61, 77, 0.09);
}

.partner-site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  background: #253d4d;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.partner-site-link:hover {
  transform: translateY(-2px);
  background: #1a86a5;
  color: #fff;
}

.partner-site-link .material-symbols-rounded {
  font-size: 1.2rem;
}

.partner-link-arrow {
  margin-left: 0.1rem;
}

.partner-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.partner-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(37, 61, 77, 0.12);
  border-radius: 50%;
  background: #f3f8f8;
  color: #253d4d;
  font-size: 1.05rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.partner-socials a:hover {
  transform: translateY(-2px);
  border-color: #1a86a5;
  background: #1a86a5;
  color: #fff;
}

.partners-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 190px;
  padding: 2rem;
  border: 1px dashed rgba(37, 61, 77, 0.2);
  border-radius: 22px;
  background: #f3f8f8;
  color: #526671;
  text-align: center;
}

.partners-empty .material-symbols-rounded {
  color: #1a86a5;
  font-size: 2rem;
}

.partners-empty p {
  margin: 0;
}

@media (max-width: 767.98px) {
  .partners-page-header {
    margin-bottom: 1.75rem;
  }

  .partners-page-header p {
    font-size: 0.96rem;
  }

  .partner-card {
    border-radius: 20px;
  }

  .partner-logo-area {
    min-height: 190px;
    padding: 1.75rem 1.25rem;
  }

  .partner-logo {
    max-width: min(310px, 90%);
    height: 120px;
    max-height: 120px;
  }

  .partner-card-body {
    padding: 1.5rem;
  }

  .partner-links {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-site-link {
    justify-content: center;
    width: 100%;
  }

  .partner-socials {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-site-link,
  .partner-socials a {
    transition: none;
  }
}
