/* ===== Mitra & Sponsor — DFA ===== */
.spn{margin-top:38px}
.spn-head{display:flex;align-items:center;gap:16px;margin:0 0 22px}
.spn-line{flex:1;height:1px;background:linear-gradient(90deg,rgba(0,13,36,0),rgba(0,13,36,.16))}
.spn-line.r{background:linear-gradient(90deg,rgba(0,13,36,.16),rgba(0,13,36,0))}
.spn-label{font:700 11.5px/1 Inter,system-ui,-apple-system,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#9a7b1e;white-space:nowrap}
.spn-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;max-width:880px;margin:0 auto}
.spn-grid .spn-card{flex:0 0 276px}
.spn-card{background:#fff;border:1px solid #e6e1d3;border-radius:14px;padding:16px 14px 14px;text-align:center;
  box-shadow:0 6px 20px rgba(0,13,36,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:10px;min-height:184px}
.spn-card:hover{transform:translateY(-3px);border-color:#d9c48a;box-shadow:0 14px 30px rgba(0,13,36,.10)}
.spn-logo{height:84px;width:100%;display:flex;align-items:center;justify-content:center}
.spn-logo img{max-height:84px;max-width:88%;width:auto;object-fit:contain;display:block}
.spn-meta{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:auto}
.spn-name{font:800 13.5px/1.2 Inter,system-ui,sans-serif;letter-spacing:.05em;color:#0A1730;text-transform:uppercase}
.spn-role{font:700 10px/1 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#8a6d15;
  background:linear-gradient(180deg,#FDF6E1,#F7EBC7);border:1px solid #EFE0B4;padding:7px 11px;border-radius:999px}
/* ukuran optis per logo */
.spn-card--cheers .spn-logo{height:92px}
.spn-card--cheers .spn-logo img{max-height:92px;max-width:150px}
.spn-card--rg .spn-logo img{max-height:56px;max-width:210px}
@media (max-width:900px){
  .spn-grid{gap:14px}
}
@media (max-width:640px){
  .spn{margin-top:30px}
  .spn-grid{gap:12px}
  .spn-grid .spn-card{flex:0 0 calc(50% - 6px);max-width:200px}
  .spn-card{min-height:150px;padding:14px 10px 12px;gap:8px}
  .spn-logo{height:64px}.spn-logo img{max-height:64px}
  .spn-card--cheers .spn-logo{height:66px}.spn-card--cheers .spn-logo img{max-height:66px;max-width:104px}
  .spn-card--rg .spn-logo img{max-height:36px;max-width:160px}
  .spn-name{font-size:12px}
  .spn-role{font-size:9px;letter-spacing:.1em;padding:6px 8px}
  .spn-label{font-size:10px;letter-spacing:.14em}
  .spn-head{gap:10px;margin-bottom:16px}
}
@media (max-width:420px){
  .spn-grid .spn-card{flex:0 0 100%;max-width:100%}
  .spn-card{min-height:140px}
}

/* logo dengan latar gelap (mis. VSP) tampil sebagai tile */
@media (max-width:640px){
}

/* COSA — International Partner (role 2 baris) */
.spn-card--cosa .spn-logo img{max-height:92px;max-width:150px}
.spn-card--cosa .spn-role{font-size:9px;letter-spacing:.06em;padding:6px 10px;white-space:normal;line-height:1.4}
.spn-card--cosa .spn-role2{font-size:8.5px;padding:6px 10px;white-space:normal;line-height:1.4}
@media (max-width:640px){
  .spn-card--cosa .spn-logo img{max-height:60px;max-width:104px}
  .spn-card--cosa .spn-role,.spn-card--cosa .spn-role2{font-size:8px}
}

/* Kineticx — logo lebar (rasio ~3.2:1) */
.spn-card--kineticx .spn-logo img { max-height: 58px; max-width: 100%; }
@media (max-width: 640px) {
  .spn-card--kineticx .spn-logo img { max-height: 40px; }
}

/* ==========================================================================
   PARTNERS — normalisasi kartu (31 Okt 2026)
   - tinggi kartu sama semua
   - logo selalu center di kotak yang sama (ASP tidak lagi naik)
   - badge partner selalu SATU baris
   ========================================================================== */
.spn-card {
    justify-content: flex-start !important;
    gap: 10px !important;
    min-height: 220px;
}
.spn-logo {
    height: 92px !important;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spn-logo img { width: 240px; height: 92px; max-height: 92px; max-width: 100%; object-fit: contain; }
/* logo sudah dinormalisasi (kanvas 240x92, ink di tengah) -> tampil apa adanya */
.spn-card--cheers .spn-logo,
.spn-card--rg .spn-logo,
.spn-card--cosa .spn-logo,
.spn-card--kineticx .spn-logo { height: 92px !important; }
.spn-card--cheers .spn-logo img,
.spn-card--rg .spn-logo img,
.spn-card--cosa .spn-logo img,
.spn-card--kineticx .spn-logo img,
.spn-card--bayarena .spn-logo img {
    width: 240px !important; height: 92px !important;
    max-height: 92px !important; max-width: 100% !important;
    object-fit: contain;
}

/* badge / jabatan: satu baris */
.spn-card .spn-role {
    white-space: nowrap !important;
    font-size: 8.2px !important;
    letter-spacing: .02em !important;
    padding: 6px 8px !important;
    text-align: center;
}
.spn-card .spn-role2 { font-size: 7.8px !important; }
@media (max-width: 640px) {
    .spn-card { min-height: 0; }
    .spn-card .spn-role { font-size: 8px !important; letter-spacing: 0 !important; }
}

/* PARTNERS — grid rapi 7 kartu (26 Nov 2026) */
.spn-grid{max-width:1040px;gap:18px;align-items:stretch}
.spn-grid .spn-card{flex:0 0 244px;min-height:216px;padding:20px 12px 18px}
.spn-card .spn-name{min-height:34px;display:flex;align-items:center;justify-content:center}
.spn-card .spn-meta{margin-top:0;flex:1;justify-content:flex-start}
@media (max-width:640px){
  .spn-grid{gap:12px}
  .spn-grid .spn-card{flex:0 0 calc(50% - 6px);max-width:none;min-height:0;padding:14px 8px}
  .spn-card .spn-role{white-space:normal!important;line-height:1.4}
}
