/* === PARTNERS PAGE STYLES ===
   Namespaced `pt-`. Colours, buttons, .wrap and .reveal come from style.css.
   Every partner is one .pt-card, so the list grows by copying that block. */

/* Page header */
.pt-head {
  padding: 104px 0 46px;
  max-width: 620px;
}
.pt-title {
  margin: 6px 0 12px;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.1;
  color: #fff;
}
.pt-sub {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Partner list */
.pt-list {
  display: grid;
  gap: 18px;
}

.pt-card {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(45,36,30,.42), rgba(22,18,15,.72));
  border: 1px solid rgba(255,213,185,.10);
  transition: transform var(--speed), border-color var(--speed), box-shadow var(--speed);
}
.pt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224,90,1,.38);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}

/* Clip: decorative, so it is skipped by keyboard and screen readers —
   the "Join server" button carries the same link. */
.pt-card-media {
  position: relative;
  display: block;
  min-height: 210px;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(45,36,30,.9), rgba(22,18,15,.95));
}
.pt-clip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease, transform 600ms ease;
}
.pt-clip.is-ready { opacity: .9; }
.pt-card:hover .pt-clip { opacity: 1; transform: scale(1.04); }
/* Keep the clip from fighting the card text for attention. */
.pt-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,18,15,.25), rgba(22,18,15,.55));
}

/* Body */
.pt-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 28px;
}
.pt-card-id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pt-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(0,0,0,.3);
  border: 1px solid rgba(255,213,185,.16);
}
.pt-card-id h2 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.2;
  color: #fff;
}
.pt-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffd9bd;
  background: rgba(224,90,1,.16);
  border: 1px solid rgba(224,90,1,.36);
}
.pt-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,213,185,.72);
}
.pt-card-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
}
.pt-count {
  font-size: 13px;
  color: rgba(255,213,185,.45);
}

/* Contact */
.pt-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0 96px;
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px dashed rgba(255,213,185,.16);
}
.pt-contact h2 { margin: 0 0 5px; font-size: 17px; color: #fff; }
.pt-contact p  { margin: 0; font-size: 14px; color: var(--muted); }

/* Responsive */
@media (max-width: 760px) {
  .pt-head { padding: 84px 0 34px; }
  .pt-card { grid-template-columns: 1fr; }
  .pt-card-media { min-height: 180px; }
  .pt-card-media::after { background: linear-gradient(180deg, rgba(22,18,15,.2), rgba(22,18,15,.6)); }
  .pt-card-body { padding: 22px; }
  .pt-contact { margin-bottom: 72px; padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .pt-card, .pt-card:hover { transform: none; }
  .pt-clip, .pt-card:hover .pt-clip { transition: none; transform: none; }
}
