.wnsp-page {
  --wnsp-red: #d32f2f;
  --wnsp-bg: #f6f7f9;
  --wnsp-paper: #ffffff;
  --wnsp-text: #111827;
  --wnsp-muted: #5f6368;
  --wnsp-border: #e7e7e7;
  padding: 40px 0 64px;
  background: var(--wnsp-bg);
}

.wnsp-container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */

.wnsp-breadcrumb {
  margin-bottom: 24px;
}

.wnsp-breadcrumb a {
  color: var(--wnsp-red);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.wnsp-breadcrumb a:hover {
  text-decoration: underline;
}

/* ── Listing header ──────────────────────────────────────────────────────── */

.wnsp-listing-header {
  margin-bottom: 36px;
}

.wnsp-listing-title {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--wnsp-text);
}

.wnsp-listing-lead {
  margin: 0;
  color: var(--wnsp-muted);
  line-height: 1.7;
}

/* ── Tier section ────────────────────────────────────────────────────────── */

.wnsp-tier-section {
  margin-bottom: 40px;
}

.wnsp-tier-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--wnsp-text);
}

.wnsp-tier-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

/* ── Card grid ───────────────────────────────────────────────────────────── */

.wnsp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* ── Sponsor card ────────────────────────────────────────────────────────── */

.wnsp-card {
  background: var(--wnsp-paper);
  border: 1px solid var(--wnsp-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.wnsp-card--gold {
  border-color: #f5a62366;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.12);
}

.wnsp-card-image-wrap {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fafafa;
  border-bottom: 1px solid var(--wnsp-border);
  box-sizing: border-box;
}

.wnsp-card-image {
  max-width: 100%;
  max-height: 128px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.wnsp-card-image-fallback {
  background: linear-gradient(135deg, #ffe0d2, #ffd2c3);
  font-size: 2rem;
  font-weight: 700;
  color: #8b2d0a;
}

.wnsp-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.wnsp-card-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--wnsp-text);
}

/* ── Tier badge ──────────────────────────────────────────────────────────── */

.wnsp-tier-badge {
  display: inline-block;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 5px 14px;
}

.wnsp-tier-badge--sm {
  font-size: 11px;
  padding: 3px 10px;
  align-self: flex-start;
}

/* ── Button ──────────────────────────────────────────────────────────────── */

.wnsp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--wnsp-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  margin-top: auto;
}

.wnsp-btn:hover {
  color: #fff;
  opacity: 0.9;
}

/* ── Empty state ─────────────────────────────────────────────────────────── */

.wnsp-empty {
  color: var(--wnsp-muted);
  padding: 24px 0;
}

/* ── Detail view ─────────────────────────────────────────────────────────── */

.wnsp-detail {
  background: var(--wnsp-paper);
  border: 1px solid var(--wnsp-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.wnsp-detail-image-wrap {
  width: 100%;
  background: #fafafa;
  border-bottom: 1px solid var(--wnsp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.wnsp-detail-image {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.wnsp-detail-header {
  padding: 24px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wnsp-detail-name {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--wnsp-text);
  line-height: 1.2;
}

.wnsp-detail-promo {
  margin: 0;
  padding: 14px 28px;
  background: #fff8f4;
  border-left: 3px solid var(--wnsp-red);
  color: var(--wnsp-muted);
  font-style: italic;
  line-height: 1.7;
}

.wnsp-detail-section {
  padding: 20px 28px;
  border-top: 1px solid var(--wnsp-border);
}

.wnsp-detail-section-title {
  margin: 0 0 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wnsp-muted);
  font-weight: 700;
}

.wnsp-detail-text {
  margin: 0;
  color: var(--wnsp-text);
  line-height: 1.75;
}

.wnsp-detail-link {
  color: var(--wnsp-red);
  word-break: break-all;
}

.wnsp-detail-link:hover {
  text-decoration: underline;
}

/* ── Contact list ────────────────────────────────────────────────────────── */

.wnsp-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wnsp-contact-list a {
  color: var(--wnsp-text);
  text-decoration: none;
}

.wnsp-contact-list a:hover {
  color: var(--wnsp-red);
}

/* ── SNS list ────────────────────────────────────────────────────────────── */

.wnsp-sns-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wnsp-sns-link {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--wnsp-border);
  color: var(--wnsp-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--wnsp-paper);
  transition: border-color 0.15s, color 0.15s;
}

.wnsp-sns-link:hover {
  border-color: var(--wnsp-red);
  color: var(--wnsp-red);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .wnsp-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .wnsp-card-grid {
    grid-template-columns: 1fr;
  }

  .wnsp-detail-header,
  .wnsp-detail-section,
  .wnsp-detail-promo {
    padding-left: 16px;
    padding-right: 16px;
  }
}
