/* ISP Profiles – frontend */
.isp-profile-wrap { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.isp-profile-header { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.isp-profile-thumb { flex: 0 0 220px; max-width: 100%; }
.isp-profile-thumb img { border-radius: 10px; width: 100%; height: auto; }
.isp-profile-intro { flex: 1; min-width: 260px; }
.isp-badge { display: inline-block; background: #edf2f7; color: #1a365d; font-size: 0.8rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 4px; margin-bottom: 0.5rem; }
.isp-profile-intro h1 { font-size: 1.85rem; color: #1a365d; margin: 0 0 0.4rem; }
.isp-location { color: #4a5568; margin: 0 0 0.35rem; font-size: 0.95rem; }
.isp-rating { color: #ed8936; font-weight: 600; margin: 0 0 0.5rem; }
.isp-excerpt { color: #4a5568; font-size: 1rem; line-height: 1.6; }

/* Content grid – sidebar never cut by tabs */
.isp-profile-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2rem;
  align-items: start;
}
.isp-main-col { min-width: 0; }
.isp-section { margin-bottom: 2.5rem; scroll-margin-top: 130px; }
.isp-section h2 {
  font-size: 1.35rem;
  color: #1a365d;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

/* Sidebar – no overlap with tabs */
.isp-sidebar { min-width: 0; }
.isp-quick-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem;
  position: sticky;
  top: 80px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.isp-quick-card h3 { font-size: 1.05rem; margin: 0 0 0.85rem; color: #1a365d; }
.isp-quick-list { list-style: none; margin: 0; padding: 0; }
.isp-quick-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
  color: #4a5568;
}
.isp-quick-list li:last-child { border-bottom: none; }
.isp-quick-list strong { color: #2d3748; }
.isp-streams { margin-top: 0.75rem; font-size: 0.9rem; color: #4a5568; }

/* ===== Tab bar with arrows (desktop) ===== */
.isp-tabs-nav-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  position: sticky;
  top: 64px;
  z-index: 40;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  margin: 0 0 1.5rem;
  padding: 4px 0;
  width: 100%;
  box-sizing: border-box;
}
.isp-tabs-nav {
  flex: 1 1 auto;
  min-width: 0; /* critical: allow shrink so ul can scroll */
  overflow: hidden;
  margin: 0;
  background: transparent;
}
.isp-tabs-nav ul {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.isp-tabs-nav ul::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}
.isp-tabs-nav a {
  display: block;
  padding: 0.75rem 0.9rem;
  color: #4a5568;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.isp-tabs-nav a:hover,
.isp-tabs-nav a.active {
  color: #1a365d;
  border-bottom-color: #ed8936;
}

.isp-tab-arrow {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid #cbd5e0;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  color: #1a365d;
  font-size: 20px;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.isp-tab-arrow:hover:not(:disabled) {
  background: #edf2f7;
  color: #ed8936;
  border-color: #ed8936;
}
.isp-tab-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (min-width: 901px) {
  .isp-tab-arrow {
    display: inline-flex !important;
  }
}

@media (max-width: 900px) {
  .isp-profile-content { grid-template-columns: 1fr; }
  .isp-quick-card { position: static; }
  .isp-profile-header { flex-direction: column; }
  .isp-profile-thumb { flex: none; width: 100%; max-width: 320px; }
  .isp-tab-arrow { display: none !important; }
  .isp-tabs-nav-wrap { top: 60px; }
  .isp-tabs-nav ul { -webkit-overflow-scrolling: touch; }
}

/* FAQs */
.isp-faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.65rem;
  padding: 0;
}
.isp-faq-item summary {
  padding: 0.9rem 1.1rem;
  font-weight: 600;
  color: #1a365d;
  cursor: pointer;
  list-style: none;
}
.isp-faq-item summary::-webkit-details-marker { display: none; }
.isp-faq-item summary::after {
  content: "▾";
  float: right;
  font-weight: 700;
  color: #ed8936;
}
.isp-faq-item[open] summary::after { content: "▴"; }
.isp-faq-answer {
  padding: 0 1.1rem 1rem;
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Paper buttons */
.isp-paper-buttons a,
a.isp-btn-green {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: #00AD33 !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none !important;
  line-height: 1.3;
  border: none;
}
.isp-paper-buttons a:hover,
a.isp-btn-green:hover {
  background: #00992e !important;
  color: #ffffff !important;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 0.875rem !important;
  color: #4a5568 !important;
  background: #edf2f7 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 0.7rem 0 !important;
}
.breadcrumb a { color: #2b6cb0 !important; }
.breadcrumb a:hover { color: #ed8936 !important; }
.breadcrumb .separator { color: #718096 !important; }
.breadcrumb span { color: #1a202c !important; font-weight: 500 !important; }
