/* IVES 2026 — Sponsorship wall. Hierarchy by size, not named tiers. */

#sponsorship{
  border-top:1px solid var(--line);
}

.sponsor-wall{
  display:flex;
  flex-direction:column;
  gap:42px;
  margin-top:8px;
}

.sponsor-band{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  text-align:center;
}

.sponsor-band__label{
  margin:0;
  font-family:"Courier New",monospace;
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  line-height:1.3;
}

.sponsor-band__slots{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:14px;
  width:100%;
}

.sponsor-slot{
  display:grid;
  place-items:center;
  border:1.5px dashed var(--line);
  background:var(--paper);
  color:var(--muted);
  font-family:"Courier New",monospace;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1;
  user-select:none;
}

.sponsor-slot--logo{
  border:0;
  background:transparent;
  padding:14px 18px;
  overflow:visible;
  width:auto;
  height:auto;
}

.sponsor-slot--logo img,
.sponsor-slot--logo .sponsor-logo{
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  object-fit:contain;
  object-position:center;
}

/* Pair light/dark: default light; dark asset hanya saat data-ives-theme=dark.
   Spesifisitas harus >= `.sponsor-slot--logo img` supaya tidak double di light mode. */
.sponsor-slot--logo .sponsor-logo--dark{display:none}
html[data-ives-theme="dark"] .sponsor-slot--has-dark .sponsor-logo--light{display:none}
html[data-ives-theme="dark"] .sponsor-slot--has-dark .sponsor-logo--dark{display:block}

/* Size ladder: Co Host → Venue → Sponsored → Supporting → Media */
.sponsor-band--cohost .sponsor-slot{
  width:min(100%,360px);
  height:168px;
  font-size:18px;
}

.sponsor-band--cohost .sponsor-slot--logo{
  width:min(46%,420px);
  height:auto;
  max-width:420px;
}

.sponsor-band--cohost .sponsor-slot--logo img{
  max-height:240px;
  width:100%;
}

.sponsor-band--cohost .sponsor-slot--logo-wide{
  width:min(52%,520px);
  max-width:520px;
}

.sponsor-band--cohost .sponsor-slot--logo-wide img{
  max-height:260px;
}

.sponsor-band--venue .sponsor-slot{
  width:min(100%,320px);
  height:128px;
  font-size:15px;
}

.sponsor-band--venue .sponsor-slot--logo{
  width:min(72%,480px);
  max-width:480px;
  height:auto;
}

.sponsor-band--venue .sponsor-slot--logo img{
  max-height:180px;
  width:100%;
}

.sponsor-band--sponsored .sponsor-slot{
  width:min(100%,220px);
  height:96px;
  font-size:13px;
}

.sponsor-band--sponsored .sponsor-slot--logo{
  width:min(42%,280px);
  max-width:280px;
  height:auto;
}

.sponsor-band--sponsored .sponsor-slot--logo img{
  max-height:120px;
  width:100%;
}

.sponsor-band--sponsored .sponsor-slot--logo-ink{
  width:min(48%,360px);
  max-width:360px;
}

.sponsor-band--sponsored .sponsor-slot--logo-ink img{
  max-height:88px;
}

.sponsor-band--supporting .sponsor-slot{
  width:min(100%,148px);
  height:72px;
  font-size:11px;
}

.sponsor-band--supporting .sponsor-slot--logo{
  width:min(22%,168px);
  max-width:168px;
  height:auto;
}

.sponsor-band--supporting .sponsor-slot--logo img{
  max-height:72px;
  width:100%;
}

.sponsor-band--media .sponsor-slot{
  width:min(100%,112px);
  height:56px;
  font-size:10px;
}

.sponsor-wall__cta{
  margin-top:36px;
  display:flex;
  justify-content:center;
}

@media(max-width:980px){
  .sponsor-wall{gap:34px}
  .sponsor-band--cohost .sponsor-slot:not(.sponsor-slot--logo){height:148px}
  .sponsor-band--cohost .sponsor-slot--logo img{max-height:200px}
  .sponsor-band--cohost .sponsor-slot--logo-wide img{max-height:220px}
  .sponsor-band--venue .sponsor-slot:not(.sponsor-slot--logo){height:112px}
  .sponsor-band--venue .sponsor-slot--logo img{max-height:150px}
  .sponsor-band--sponsored .sponsor-slot:not(.sponsor-slot--logo){width:min(46%,200px);height:88px}
  .sponsor-band--sponsored .sponsor-slot--logo img{max-height:100px}
  .sponsor-band--sponsored .sponsor-slot--logo-ink img{max-height:72px}
  .sponsor-band--supporting .sponsor-slot:not(.sponsor-slot--logo){width:min(30%,132px);height:66px}
  .sponsor-band--supporting .sponsor-slot--logo{width:min(23%,150px);max-width:150px}
  .sponsor-band--supporting .sponsor-slot--logo img{max-height:64px}
  .sponsor-band--media .sponsor-slot{width:min(30%,100px);height:52px}
}

@media(max-width:700px){
  .sponsor-wall{gap:28px}
  .sponsor-band__label{font-size:10px}
  .sponsor-band__slots{gap:10px}
  .sponsor-band--cohost .sponsor-slot:not(.sponsor-slot--logo){
    width:calc(50% - 5px);
    height:120px;
    font-size:13px;
  }
  .sponsor-band--cohost .sponsor-slot--logo{
    width:calc(50% - 5px);
    max-width:none;
  }
  .sponsor-band--cohost .sponsor-slot--logo img{max-height:150px}
  .sponsor-band--cohost .sponsor-slot--logo-wide{
    width:calc(50% - 5px);
  }
  .sponsor-band--cohost .sponsor-slot--logo-wide img{max-height:160px}
  .sponsor-band--venue .sponsor-slot:not(.sponsor-slot--logo){
    width:100%;
    max-width:280px;
    height:104px;
    font-size:13px;
  }
  .sponsor-band--venue .sponsor-slot--logo{
    width:min(100%,340px);
    max-width:340px;
  }
  .sponsor-band--venue .sponsor-slot--logo img{max-height:120px}
  .sponsor-band--sponsored .sponsor-slot:not(.sponsor-slot--logo){
    width:calc(50% - 5px);
    height:80px;
    font-size:12px;
  }
  .sponsor-band--sponsored .sponsor-slot--logo{
    width:calc(50% - 5px);
    max-width:none;
  }
  .sponsor-band--sponsored .sponsor-slot--logo img{max-height:88px}
  .sponsor-band--sponsored .sponsor-slot--logo-ink img{max-height:56px}
  .sponsor-band--supporting .sponsor-slot:not(.sponsor-slot--logo),
  .sponsor-band--media .sponsor-slot{
    width:calc(33.333% - 7px);
  }
  .sponsor-band--supporting .sponsor-slot:not(.sponsor-slot--logo){
    height:60px;
    font-size:10px;
  }
  .sponsor-band--supporting .sponsor-slot--logo{
    width:calc(33.333% - 7px);
    max-width:none;
  }
  .sponsor-band--supporting .sponsor-slot--logo img{max-height:56px}
  .sponsor-band--media .sponsor-slot{
    height:48px;
    font-size:9px;
  }
  .sponsor-wall__cta{margin-top:28px}
}
