.sponsor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.sponsor-page {
  width: min(1060px, 96vw);
  margin: 18px auto 34px;
  display: grid;
  gap: 16px;
}

.sponsor-page .hero {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background:
    radial-gradient(1200px 320px at 5% -10%, rgba(212, 175, 55, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(22, 25, 33, 0.92), rgba(17, 19, 26, 0.96));
  padding: 18px 18px 16px;
  display: grid;
  gap: 8px;
}

.sponsor-page .hero h1 {
  margin: 2px 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.sponsor-page .hero p {
  margin: 0;
  color: var(--text-muted, var(--gray, #9ca3af));
}

.sponsor-page .card h2 {
  margin-bottom: 8px;
}

.sponsor-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(25, 29, 37, 0.86), rgba(17, 20, 27, 0.9));
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.sponsor-card:hover {
  transform: translateY(-1px);
  border-color: #3a3f4f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.sponsor-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.sponsor-logo {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  background: #11141a;
  flex: 0 0 auto;
}

.sponsor-card-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.sponsor-logo-lg {
  width: 104px;
  height: 104px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  background: #11141a;
}

.sponsor-card h3,
.sponsor-detail-head h2 {
  margin: 0;
}

.sponsor-card h3 {
  font-size: 1.05rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sponsor-card p {
  margin: 0;
}

.sponsor-card-preview {
  display: block;
  line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
  max-height: calc(1.35em * 2);
}

.sponsor-card-sub {
  color: var(--text-muted, var(--gray, #9ca3af));
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sponsor-card-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.sponsor-telegram-btn {
  white-space: nowrap;
  min-width: 138px;
  justify-content: center;
}

.sponsor-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sponsor-detail-bio {
  margin: 0;
  line-height: 1.52;
  color: #e5e7eb;
}

.sponsor-empty {
  color: var(--text-muted, var(--gray, #9ca3af));
  border: 1px dashed var(--line-soft);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .sponsor-page {
    width: min(1060px, 94vw);
    margin-top: 12px;
  }

  .sponsor-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .sponsor-card-link {
    width: 100%;
  }

  .sponsor-card-actions {
    width: 100%;
  }

  .sponsor-telegram-btn {
    width: 100%;
  }
}
