/* Shared components used on 2+ templates: page title/breadcrumb, gold
   banner CTA, section heading row, filter tabs, and project cards. */

.eyebrow-dark { color: var(--gold-text); }

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}
.section-heading-side,
.section-heading-link { color: var(--text-body); max-width: 320px; }
.section-heading-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-text); white-space: nowrap; transition: color .2s; }
.section-heading-link:hover { color: var(--gold-hover); }
@media (max-width: 640px) {
  .section-heading-row { flex-direction: column; align-items: flex-start; }
}

/* ===== Page title / breadcrumb (interior pages) ===== */
.page-title-section {
  background: var(--bg-section-alt);
  padding: calc(var(--layout-header) + var(--space-8)) 0 var(--space-8);
}
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-text); }
.breadcrumb i { font-size: 9px; color: var(--dot-inactive); }
.breadcrumb span { color: var(--text-body); }

/* ===== Gold Banner CTA ===== */
.gold-banner {
  background: var(--gold); border-radius: var(--radius-3xl);
  padding: 36px 40px; display: flex; align-items: center; gap: var(--space-8);
  flex-wrap: wrap; position: relative; overflow: hidden;
}
.gold-banner::before {
  content: "";
  position: absolute; top: 50%; right: -6%; transform: translateY(-50%);
  width: 70%; max-width: 560px; aspect-ratio: 1300/850;
  background: var(--simco-world-map-url) no-repeat 10% 35% / contain;
  opacity: .16; pointer-events: none;
  animation: world-map-drift 26s linear infinite alternate;
}
.gold-banner .banner-title { position: relative; color: var(--on-banner); flex: 1 1 320px; }
.gold-banner-side { position: relative; display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; flex: 1 1 260px; }
.gold-banner-side .caption { color: var(--on-banner); opacity: .9; }

@keyframes world-map-drift {
  0%   { background-position: 10% 35%; }
  50%  { background-position: 90% 65%; }
  100% { background-position: 10% 35%; }
}

/* ===== Project cards / grid (home preview, projects listing) ===== */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  position: relative; display: block; border-radius: var(--radius-3xl);
  overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow-card);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.project-card:hover img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-6);
  background: linear-gradient(180deg, transparent 40%, rgba(11,11,11,.85) 100%);
}
.project-card-overlay .card-title { color: var(--text-on-dark); }
.project-card-overlay .body-sm { color: var(--text-on-dark-muted); }
.project-card[hidden] { display: none; }

@media (max-width: 900px) { .project-grid { grid-template-columns: 1fr; } }

/* ===== Shared category filter tabs (About team grid, Projects listing) ===== */
.filter-tabs { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-12); }
.filter-tab {
  background: transparent; border: 1px solid var(--border-subtle); border-radius: var(--radius-full);
  padding: 8px 20px; font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.03em; color: var(--text-muted); transition: all .2s;
}
.filter-tab:hover { border-color: var(--gold); color: var(--gold-text); }
.filter-tab.active { background: var(--gold); border-color: var(--gold); color: var(--on-banner); }

/* ===== Empty state (no CPT entries published yet) ===== */
.empty-state {
  text-align: center; padding: var(--space-16) var(--space-6);
  color: var(--text-muted); border: 1px dashed var(--border-subtle); border-radius: var(--radius-3xl);
}
.empty-state p:first-child { color: var(--text-body); font-weight: 600; margin-bottom: var(--space-2); }
