/* Labeled paid placements — ads, not handshake rank */

.sponsor-rail {
  margin: 0 0 22px;
}

.sponsor-rail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 10px;
}

.sponsor-rail__kicker {
  margin: 0;
  font-family: var(--hp-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-muted2);
}

.sponsor-rail__buy {
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-accent) !important;
  text-decoration: none;
}

.sponsor-rail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sponsor-spot {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 6px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--hp-border);
  border-radius: 14px;
  background: var(--hp-card);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(22, 24, 29, 0.04);
}

.sponsor-spot:hover {
  border-color: #e8c36a;
}

.sponsor-spot__badge {
  grid-column: 1 / -1;
  justify-self: start;
  font-family: var(--hp-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #92400e;
  background: #fef3c7;
  border-radius: 999px;
  padding: 3px 8px;
}

.sponsor-spot__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.sponsor-spot__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sponsor-spot__name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.sponsor-spot__blurb {
  font-size: 13px;
  line-height: 1.4;
  color: var(--hp-muted);
}

.sponsor-spot__cta {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--hp-text);
}

.sponsor-spot--open {
  border-style: dashed;
  background: var(--hp-surface);
}

.sponsor-spot--open .sponsor-spot__badge {
  color: var(--hp-muted2);
  background: var(--hp-surface2);
}

.sponsor-spot--open .sponsor-spot__icon {
  background: var(--hp-card);
  color: var(--hp-muted2);
  border-color: var(--hp-border2);
}

.sponsor-pitch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid #fde68a;
  border-radius: 12px;
  background: #fffbeb;
}

.sponsor-pitch p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 14px;
  line-height: 1.45;
  color: var(--hp-muted);
}

.sponsor-pitch b {
  color: var(--hp-text);
}

.sponsor-pitch a:not(.sponsor-pitch__cta) {
  font-weight: 600;
  color: var(--hp-text);
}

.sponsor-pitch__cta {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: #fff !important;
  background: var(--hp-text);
  border-radius: 8px;
  padding: 9px 12px;
  text-decoration: none;
}

.sponsor-pitch__cta:hover {
  background: var(--hp-near);
}

.home-sponsors {
  border-bottom: 1px solid var(--hp-border);
  background: #fffdf6;
}

.home-sponsors .sponsor-rail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 32px 22px;
}

.home-sponsors .sponsor-rail__head {
  margin-bottom: 12px;
}

.mcp-pill--sponsored {
  font-weight: 600;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.promote-where {
  margin: 0 0 28px;
  padding: 18px 20px;
  border: 1px solid var(--hp-border);
  border-radius: 14px;
  background: var(--hp-card);
}

.promote-where h2 {
  margin: 0 0 6px;
  font-size: 15px;
}

.promote-where__lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--hp-muted);
}

.promote-where ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.promote-where li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 10px 16px;
  padding: 10px 0;
  border-top: 1px solid var(--hp-border);
  font-size: 14px;
}

.promote-where li:first-child {
  border-top: none;
  padding-top: 0;
}

.promote-where b {
  font-size: 13px;
  letter-spacing: -0.01em;
}

.promote-where span {
  color: var(--hp-muted);
}

@media (max-width: 800px) {
  .sponsor-rail__grid {
    grid-template-columns: 1fr;
  }

  .home-sponsors .sponsor-rail {
    padding: 16px 20px 18px;
  }

  .sponsor-spot {
    grid-template-columns: 40px 1fr;
  }

  .sponsor-spot__cta {
    grid-column: 2;
  }

  .promote-where li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
