/* ==========================================
   Vendor Profile Page (Refined v3)
========================================== */

.vendor-hero{
  padding:70px 0 40px;
}

.vendor-hero .lead{
  font-size:1.15rem;
  max-width:900px;
  margin-top:18px;
  line-height:1.65;
}

/* ==========================================
   Snapshot Card
========================================== */

.vendor-snapshot{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:40px;
  align-items:flex-start;
  background:var(--c-surface);
  border:1px solid var(--c-border);
  border-radius:22px;
  padding:36px;
  box-shadow:var(--shadow);
  margin-top:40px;
}

.vendor-logo{
  width:140px;
  height:140px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  border:1px solid var(--c-border);
  background:#fff;
}

.vendor-logo img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.vendor-profile-right img.vendor-brand{
  max-width:260px;
  margin-bottom:24px;
}

.vendor-meta{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px 30px;
  font-size:1.05rem;
}

.vendor-meta span{
  font-weight:800;
  color:var(--c-ink);
}

/* ==========================================
   Profile Sections
========================================== */

.vendor-section{
  margin-top:80px;
}

.vendor-section h2{
  margin-bottom:22px;
}

/* ==========================================
   Capability Cards
========================================== */

.vendor-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}

/* NOTE:
   .vendor-card is intentionally reusable
   for both directory listings and profile cards
*/

.vendor-card{
  background:#fff;
  border:1px solid var(--c-border);
  border-radius:20px;
  padding:26px;
  box-shadow:var(--shadow);
}

.vendor-card h3{
  margin-bottom:12px;
}

/* ==========================================
   Differentiator Highlight
========================================== */

.vendor-highlight{
  background:var(--c-surface);
  border-left:4px solid var(--c-ink);
  padding:28px 32px;
  border-radius:16px;
  font-size:1.05rem;
}

/* ==========================================
   Best Fit Section
========================================== */

.vendor-fit{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:26px;
}

.vendor-fit .vendor-card{
  background:#fff;
}

/* ==========================================
   Collapsible Sources Section
========================================== */

.vendor-sources{
  margin-top:80px;
  background:#f6f7f9;
  border:2px dotted rgba(11,43,91,.25);
  border-radius:16px;
  padding:0;
  font-size:.95rem;
}

/* Summary header */

.vendor-sources summary{
  list-style:none;
  cursor:pointer;
  padding:22px 28px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-size:.85rem;
  color:rgba(11,43,91,.8);
  position:relative;
}

.vendor-sources summary::-webkit-details-marker{
  display:none;
}

/* Toggle icon */

.vendor-sources summary::after{
  content:"+";
  position:absolute;
  right:28px;
  font-size:1.2rem;
  font-weight:700;
}

.vendor-sources[open] summary::after{
  content:"–";
}

/* Content area */

.vendor-sources ul{
  padding:0 28px 24px 40px;
  margin:0;
}

.vendor-sources a{
  font-weight:600;
  text-decoration:none;
  border-bottom:1px solid rgba(11,43,91,.25);
}

.vendor-sources a:hover{
  border-bottom-color:rgba(11,43,91,.45);
}

/* ==========================================
   Vendors Directory Styling
========================================== */

.section-divider{
  margin:32px 0;
}

/* Category cards panel */

.panel-soft{
  margin-bottom:18px;
}

/* ==========================================
   A–Z Jump Navigation
========================================== */

.az-nav{
  list-style:none;
  font-size:16px;
  padding:0;
  margin:12px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.az-nav a{
  text-decoration:none;
  color:#3d4b5c;
  padding:4px 6px;
  transition:color .15s ease;
}

.az-nav a:hover{
  color:#3C80C1;
}

/* Letter sections */

.az-group{
  margin-top:26px;
}

.az-letter{
  margin:22px 0 10px;
  line-height:1;
}

/* ==========================================
   Vendor Filtering
========================================== */

.vendor-hidden{
  display:none !important;
}

/* ==========================================
   Vendor Filter Pills
========================================== */

.vendor-filter-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0 14px;
}

.filter-pill{
  padding:9px 16px;
  border-radius:12px;
  border:1px solid rgba(60,128,193,.35);
  background:#ffffff;
  color:#2d3748;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition:all .18s ease;
}

.filter-pill:hover{
  border-color:#4E6FE3;
  background:rgba(78,111,227,.08);
}

.filter-pill.active{
  background:linear-gradient(135deg,#4E6FE3,#3C80C1);
  color:#fff;
  border-color:transparent;
  box-shadow:0 4px 12px rgba(60,128,193,.35);
}

/* ==========================================
   Vendor Count + Jump Navigation
========================================== */

.vendor-count{
  font-size:16px;
  color:#6f7b88;
}

.vendor-jump{
  margin-top:10px;
  display:flex;
  align-items:baseline;
  gap:14px;
  flex-wrap:wrap;
}

.jump-label{
  font-weight:600;
  margin-right:6px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
