/* 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;
}

/* Related company news */
.gth-related-news {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
.gth-related-news-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.gth-related-news-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.35rem;
}
.gth-related-news-header span {
  color: #64748b;
  font-size: .9rem;
}
.gth-related-news-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 310px);
  gap: 1rem;
  overflow-x: auto;
  padding: .15rem .1rem 1rem;
  scroll-snap-type: x proximity;
}
.gth-related-news-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  scroll-snap-align: start;
}
.gth-related-news-image {
  display: block;
  height: 150px;
  background: #edf2f7;
}
.gth-related-news-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gth-related-news-placeholder { display: grid; height: 100%; place-items: center; color: #64748b; font-weight: 600; }
.gth-related-news-content { padding: 1rem; }
.gth-related-news-content time { color: #64748b; font-size: .78rem; }
.gth-related-news-content h4 { margin: .4rem 0 .55rem; font-size: 1rem; line-height: 1.35; }
.gth-related-news-content h4 a { color: #1e293b; text-decoration: none; }
.gth-related-news-content h4 a:hover, .gth-related-news-link:hover { text-decoration: underline; }
.gth-related-news-content p { margin: 0 0 .9rem; color: #64748b; font-size: .88rem; line-height: 1.45; }
.gth-related-news-link { color: #1d4ed8; font-size: .88rem; font-weight: 600; text-decoration: none; }
@media (max-width: 600px) {
  .gth-related-news-header { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .gth-related-news-track { grid-auto-columns: minmax(230px, 86vw); }
}

.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;
}

/* Phase 1: premium organisation profile */
.gth-premium-profile{margin:32px 0;padding:28px;border:1px solid #dce5ee;border-radius:14px;background:#f6f9fc;}
.gth-premium-heading{display:flex;gap:16px;align-items:flex-start;margin-bottom:22px;}
.gth-premium-badge{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:#123f68;color:#fff;font-size:21px;flex:0 0 46px;}
.gth-premium-heading h3{margin:0 0 6px;font-size:24px;line-height:1.2;}
.gth-premium-heading p{margin:0;color:#536577;}
.gth-premium-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.gth-premium-card{padding:20px;background:#fff;border:1px solid #e0e7ef;border-radius:10px;}
.gth-premium-card h4,.gth-premium-locked-card h4{margin:0 0 10px;color:#123f68;font-size:17px;}
.gth-premium-card div{line-height:1.65;white-space:normal;}
.gth-premium-locked-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;}
.gth-premium-locked-card{padding:18px 14px;background:#fff;border:1px solid #dce5ee;border-radius:10px;text-align:center;}
.gth-premium-locked-card span{display:block;font-size:24px;margin-bottom:8px;}
.gth-premium-locked-card p{margin:0;font-size:13px;color:#64748b;line-height:1.45;}
.gth-premium-note{margin:18px 0 0;color:#64748b;font-size:14px;}
@media (max-width:900px){.gth-premium-locked-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.gth-premium-grid{grid-template-columns:1fr;}}
@media (max-width:520px){.gth-premium-locked-grid{grid-template-columns:1fr;}.gth-premium-profile{padding:20px;}}
/* Profile v2: horizontal tabs */
.gth-profile-v2 .gth-profile-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:28px;border:1px solid #e3e8ef;border-radius:16px;background:#fff;margin-bottom:18px}.gth-profile-identity{display:flex;gap:20px;align-items:center}.gth-profile-logo{width:110px;height:80px;object-fit:contain}.gth-profile-hero h1{margin:0 0 8px}.gth-profile-company-name{font-size:clamp(24px,3vw,34px);line-height:1.15;font-weight:700}.gth-profile-tagline{margin:0 0 12px}.gth-profile-meta{display:flex;flex-wrap:wrap;gap:14px;font-size:14px}.gth-profile-actions{display:flex;gap:10px;flex-wrap:wrap}.gth-button{display:inline-block;padding:11px 16px;border-radius:8px;background:#0b5cab;color:#fff;text-decoration:none}.gth-button-secondary{background:#eef4fa;color:#0b5cab}.gth-follow-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#64748b;cursor:pointer;font-size:27px;line-height:1}.gth-follow-button:hover,.gth-follow-button:focus-visible{border-color:#e11d48;color:#e11d48;background:#fff1f2;outline:none}.gth-follow-button.is-following{border-color:#fecdd3;color:#e11d48;background:#fff1f2}.gth-follow-button:disabled{cursor:wait;opacity:.65}.gth-profile-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid #dce3eb;margin-bottom:22px;scrollbar-width:thin}.gth-profile-tabs button{flex:0 0 auto;border:0;background:transparent;padding:14px 16px;cursor:pointer;font-weight:600;color:#536273;border-bottom:3px solid transparent;white-space:nowrap}.gth-profile-tabs button.is-active{color:#0b5cab;border-bottom-color:#0b5cab}.gth-profile-panel{display:none;padding:4px 0 20px}.gth-profile-panel.is-active{display:block}.gth-capability-tags{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.gth-capability-tags span{padding:8px 12px;background:#f1f5f9;border:1px solid #dbe4ed;border-radius:999px}.gth-premium-panel{margin-top:26px;padding:22px;border:1px solid #dce5ef;border-radius:12px;background:#fbfcfe}.gth-locked-content{padding:18px;background:#f4f6f8;border-radius:8px;color:#526171}.gth-locked-content strong{color:#243b53}@media(max-width:700px){.gth-profile-v2 .gth-profile-hero{display:block}.gth-profile-actions{margin-top:18px}.gth-profile-logo{width:80px;height:65px}.gth-profile-identity{align-items:flex-start}}

.gth-overview-box{padding:22px;border:1px solid #dce5ef;border-radius:12px;background:#fff}.gth-premium-panel-no-title{margin-top:26px}.gth-premium-panel-no-title>p:first-child{margin-top:0}.gth-profile-panel .gth-premium-panel{display:block;width:100%;box-sizing:border-box}.gth-profile-panel .gth-premium-panel> :first-child{margin-top:0}

/* Ensure tab panels, including the Contact form, are hidden until selected. */
.gth-profile-v2 .gth-profile-panel{display:none!important}
.gth-profile-v2 .gth-profile-panel.is-active{display:block!important}
.gth-news-list{display:grid;gap:18px}.gth-news-item{padding:20px;border:1px solid #dce5ef;border-radius:12px;background:#fff}.gth-news-item h3{margin:0 0 8px}.gth-news-item h3 a{text-decoration:none}.gth-news-date{margin:0 0 10px;font-size:13px;color:#6b7785}.gth-news-excerpt{line-height:1.6}

/* News carousel: three cards visible, with arrow navigation for additional articles. */
.gth-news-carousel{margin-top:8px}.gth-news-carousel-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.gth-news-count{font-size:13px;color:#6b7785}.gth-news-carousel-controls{display:flex;gap:8px}.gth-news-arrow{border:1px solid #dce5ef;background:#fff;border-radius:8px;width:36px;height:36px;cursor:pointer;font-size:18px;line-height:1}.gth-news-arrow:hover{background:#f1f5f9}.gth-news-viewport{overflow:hidden}.gth-news-list{display:flex;gap:18px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;padding:2px 2px 10px;scrollbar-width:none}.gth-news-list::-webkit-scrollbar{display:none}.gth-news-item{flex:0 0 calc((100% - 36px)/3);box-sizing:border-box;padding:0;overflow:hidden;scroll-snap-align:start;display:flex;flex-direction:column}.gth-news-image{display:block;height:145px;background:#eef2f6;overflow:hidden}.gth-news-image img{width:100%;height:100%;object-fit:cover;display:block}.gth-news-item-content{padding:16px}.gth-news-item h3{font-size:17px;line-height:1.35}.gth-news-excerpt{font-size:14px}.gth-news-item-content .gth-news-date{margin-top:0}@media(max-width:900px){.gth-news-item{flex-basis:calc((100% - 18px)/2)}}@media(max-width:600px){.gth-news-item{flex-basis:100%}}
