/* ---------- ISP detail page: sidebar list + static text panel (no flip) ---------- */

.isp-detail-logo{
  display: block;
  height: clamp(4rem, 11vw, 7rem);
  width: auto;
  max-width: 380px;
  object-fit: contain;
  margin: 0 auto 8px;
  filter: brightness(0) invert(94%) drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

html[data-theme="light"] .isp-detail-logo{
  filter: none;
}

.isp-detail-layout{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 24px 96px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

/* ---------- Sidebar list ---------- */
.isp-detail-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
}

.isp-detail-list-item{
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: "slight-chance", sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.isp-detail-list-item:hover{
  color: var(--text);
  border-color: var(--border);
}

.isp-detail-list-item.is-active{
  color: var(--red-glow);
  background: rgba(226,52,44,0.08);
  border-color: var(--red);
}

.isp-lock-icon{
  width: 13px;
  height: 13px;
  margin-left: 6px;
  vertical-align: -1px;
  color: var(--text-muted);
}

/* ---------- Text panel ---------- */
.isp-detail-panel{
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 48px;
  min-height: 320px;
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.isp-detail-panel:hover{
  border-color: var(--red);
  box-shadow: 0 12px 30px -14px rgba(226,52,44,0.45);
}

.isp-detail-label{
  display: block;
  font-family: "slight-chance", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-glow);
  margin-bottom: 16px;
}

.isp-detail-text{
  margin: 0;
  max-width: 60ch;
  font-family: "slight-chance", sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.65;
  color: var(--text);
  white-space: pre-line;
}

.isp-detail-text.is-locked{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 200px;
  text-align: center;
  color: var(--text-muted);
  white-space: normal;
}

.isp-detail-text.is-locked .isp-lock-icon{
  width: 32px;
  height: 32px;
  margin-left: 0;
  color: var(--text-muted);
}

.isp-detail-locked-msg{
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 780px){
  .isp-detail-layout{
    grid-template-columns: 1fr;
  }
  .isp-detail-panel{
    padding: 32px 28px;
  }
}
