/* GasTurbineHub Company Directory (minimal styling)
   This CSS is intentionally lightweight and theme-friendly.
*/
.gthcd-wrap { max-width: 1100px; margin: 0 auto; padding: 18px 12px; }
.gthcd-hero { border: 1px solid rgba(0,0,0,.08); border-radius: 16px; padding: 18px; background: rgba(0,0,0,.02); }
.gthcd-hero-inner { display:flex; gap: 14px; align-items:center; justify-content: space-between; flex-wrap: wrap; }
.gthcd-title { margin: 0 0 4px 0; font-size: 26px; line-height: 1.15; }
.gthcd-subtitle { margin: 0; opacity: .8; }
.gthcd-search { display:flex; gap: 10px; align-items:center; flex-wrap: wrap; }
.gthcd-input { min-width: 280px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(0,0,0,.15); }
.gthcd-btn { padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(0,0,0,.12); cursor:pointer; background: #111; color: #fff; }
.gthcd-btn:hover { opacity: .92; }
.gthcd-btn-secondary { background: transparent; color: inherit; }
.gthcd-btn-block { width: 100%; justify-content: center; }

/* Layout: sidebar left, results right */
.gthcd-layout { display:grid; grid-template-columns: 320px 1fr; gap: 12px; margin-top: 12px; align-items: start; }
@media (max-width: 980px) { .gthcd-layout { grid-template-columns: 1fr; } }

.gthcd-sidebar { position: sticky; top: 18px; }
@media (max-width: 980px) { .gthcd-sidebar { position: static; } }

.gthcd-sidebar-inner { border: 1px solid rgba(0,0,0,.08); border-radius: 16px; background:#fff; padding: 12px; display:flex; flex-direction: column; gap: 10px; }
.gthcd-sidebar-title { font-weight: 700; font-size: 13px; opacity: .9; padding: 4px 4px 2px 4px; }
.gthcd-sidebar-actions { padding-top: 6px; }

/* Facets (checkbox filters) */
.gthcd-facet { border: 1px solid rgba(0,0,0,.08); border-radius: 14px; padding: 10px; background: #fff; }
.gthcd-facet-head { display:flex; align-items:center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.gthcd-facet-title { font-weight: 600; font-size: 13px; opacity: .85; }
.gthcd-facet-toggle { border: 1px solid rgba(0,0,0,.12); background: transparent; border-radius: 999px; padding: 6px 10px; cursor:pointer; font-size: 12px; }

.gthcd-facet-body { display:flex; flex-direction: column; gap: 6px; }
.gthcd-check { display:flex; align-items:center; justify-content: space-between; gap: 10px; padding: 6px 8px; border-radius: 12px; }
.gthcd-check:hover { background: rgba(0,0,0,.03); }
.gthcd-check-left { display:flex; align-items:center; gap: 10px; min-width: 0; }
.gthcd-check input { margin: 0; }
.gthcd-check-label { flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gthcd-check-count { font-size: 12px; opacity: .7; border: 1px solid rgba(0,0,0,.10); padding: 2px 8px; border-radius: 999px; }

/* Collapsing behavior: show first 8 items */
.gthcd-collapsible.gthcd-collapsed .gthcd-check:nth-child(n+9) { display:none; }

.gthcd-main { min-width: 0; }

/* Results meta */
.gthcd-meta { display:flex; align-items:center; justify-content: space-between; margin: 0 0 12px 0; gap: 10px; flex-wrap: wrap; }
.gthcd-count { font-weight: 600; }
.gthcd-note { opacity: .7; font-size: 13px; }

.gthcd-section-title {
  margin: 8px 0 10px;
  font-size: 12px;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Featured (Premium) cards */
.gthcd-grid-featured { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .gthcd-grid-featured { grid-template-columns: 1fr; } }

.gthcd-company-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:16px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.gthcd-card-header{display:flex; align-items:center; gap:12px;}
.gthcd-logo{
  width:50px; height:50px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.gthcd-logo img{width:100%; height:100%; object-fit:cover; display:block;}
.gthcd-logo-fallback{font-weight:800; font-size:18px; opacity:.75;}
.gthcd-company-main{min-width:0;}
.gthcd-company-name{font-weight:700; font-size:18px; line-height:1.15;}
.gthcd-company-location{font-size:13px; opacity:.75; margin-top:4px;}
.gthcd-verified{
  margin-left:auto;
  color:#1d4ed8;
  font-weight:700;
  border:1px solid rgba(29,78,216,.25);
  background: rgba(29,78,216,.06);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
}
.gthcd-company-stats{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
  font-size:14px;
  opacity:.9;
}
.gthcd-stat{display:flex; gap:8px; align-items:center;}
.gthcd-company-desc{margin:0; font-size:14px; opacity:.75; line-height:1.4;}
.gthcd-company-tags{display:flex; flex-wrap:wrap; gap:8px;}
.gthcd-company-tags span{background: rgba(0,0,0,.05); padding:6px 10px; border-radius:10px; font-size:12px;}

.gthcd-card-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:6px;}
.gthcd-btn-primary{
  background:#1d4ed8;
  color:#fff;
  border:1px solid #1d4ed8;
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.gthcd-btn-primary:hover{opacity:.92;}
.gthcd-btn-lite{
  background:#fff;
  color:inherit;
  border:1px solid rgba(0,0,0,.20);
  padding:10px 16px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Standard (Compact) cards */
.gthcd-grid-compact { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 920px) { .gthcd-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gthcd-grid-compact { grid-template-columns: 1fr; } }

.gthcd-company-card-compact{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:16px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.gthcd-compact-top{display:flex; gap:12px; align-items:flex-start;}
.gthcd-logo-sm{
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
}
.gthcd-logo-sm img{width:100%; height:100%; object-fit:cover; display:block;}
.gthcd-compact-main{min-width:0;}
.gthcd-compact-name{font-weight:700; font-size:16px; line-height:1.2;}
.gthcd-compact-meta{font-size:13px; opacity:.75; margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.gthcd-compact-tags{display:flex; flex-wrap:wrap; gap:6px;}
.gthcd-compact-tags span{background: rgba(0,0,0,.05); padding:5px 9px; border-radius:999px; font-size:12px;}
.gthcd-compact-actions{display:flex; gap:10px; margin-top:auto; flex-wrap:wrap;}
.gthcd-link{
  padding:9px 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.20);
  background:#fff;
  cursor:pointer;
  font-weight:600;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.gthcd-link-primary{
  background:#111;
  color:#fff;
  border-color:#111;
}
.gthcd-link-primary:hover{opacity:.92;}

/* Pagination + empty */
.gthcd-pagination { display:flex; gap: 10px; align-items:center; justify-content:center; margin-top: 16px; }
.gthcd-page { opacity: .8; }

.gthcd-empty { padding: 16px; border: 1px dashed rgba(0,0,0,.25); border-radius: 16px; background: rgba(0,0,0,.02); }


/* Stats layout overrides */
.gthcd-company-stats-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

.gthcd-compact-stats{ display:flex; gap:8px; flex-wrap:wrap; }
.gthcd-mini{ font-size:12px; opacity:.75; border:1px solid rgba(0,0,0,.12); padding:3px 8px; border-radius:999px; background: rgba(0,0,0,.02); }

/* =========================================
   Single Company Profile
========================================= */

/* Single Company: header with featured image 40% */

.gth-header-row {
  display: flex;
  flex-direction: column;  /* Stack vertically */
  gap: 0.05rem;
}

.gth-header-row > div {
  margin: 0;     /* Zero div margins */
}

.gth-header-row p {
  margin: 0;
  padding: 0.25rem 0;  /* Tiny breathing room */
  line-height: 1.3;
}

.gth-header-media{
	flex:0 0 40%;
	max-width:40%;
	min-width:260px;
}

.gth-featured-img{
	width:100%;
	height:auto;
	display:block;
	border-radius:16px;
	object-fit:cover;
}

/* NEW: Two-Column 70/30 Split */
.gth-two-column {
  display: flex;
  gap: 0.25rem;
  width: 100%;
}

.gth-col-main {
  flex: 6.5;        /* 70% */
  max-width: 65%;
}

.gth-col-sidebar {
  flex: 3;        /* 30% */
  max-width: 30%;
  /* Empty now - future content will fill nicely */
}

.gth-info-panel {
  background: #f8f9ff;
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
}

.gth-panel-header h4 {
  margin: 0 0 1.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
}

/* MINI PANELS */
.gth-mini-panel {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.gth-mini-panel:last-child {
  margin-bottom: 0;
}

.gth-mini-header {
  font-weight: 600;
  color: #475569;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.gth-mini-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.375rem 0;
  font-size: 0.9rem;
  color: #64748b;
}

.count {
  background: #e2e8f0;
  color: #64748b;
  border-radius: 10px;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.gth-clear-btn {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  cursor: not-allowed;
  margin-top: 1rem;
}

