/* /tools/career/career.css - Toolsyte Career Category Stylesheet */

.career-hub {
  --accent: #5b4ce6;
  --career-accent: #5b4ce6;
  --career-accent-dark: #4338ca;
}

.career-hub .eyebrow {
  border-color: rgba(91, 76, 230, 0.18);
  background: #f1efff;
  color: #4338ca;
}

.career-hub .btn-primary,
.career-hub .btn-open {
  background: var(--career-accent);
  box-shadow: 0 10px 22px rgba(91, 76, 230, 0.2);
}

.career-hub .btn-primary:hover,
.career-hub .btn-open:hover {
  background: var(--career-accent-dark);
}

.career-hub .hero-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.085);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1), 0 10px 18px rgba(15, 23, 42, 0.035), 0 2px 0 rgba(255, 255, 255, 0.78) inset;
}

.career-hub .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(91, 76, 230, 0.78), rgba(139, 92, 246, 0.36), rgba(56, 189, 248, 0));
  pointer-events: none;
}

.career-hub .hero-logo {
  object-fit: contain;
  padding: 3px;
}

.career-hub .hero-tool-row {
  min-height: 52px;
  padding: 10px 12px 10px 11px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.career-hub .hero-tool-main > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.career-hub .career-tool-grid .tool-card,
.career-hub .career-featured-grid .tool-card {
  min-height: 218px;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(180deg, rgba(91, 76, 230, 0.026), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.052);
}

.career-hub .career-tool-grid .tool-card::before,
.career-hub .career-featured-grid .tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #5b4ce6, #8b5cf6);
  opacity: 0.78;
  border-radius: 8px 8px 0 0;
  z-index: 2;
}

.career-hub .career-tool-grid .tool-card:hover,
.career-hub .career-featured-grid .tool-card:hover {
  border-color: rgba(91, 76, 230, 0.22);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.career-hub .career-featured-grid .card-media {
  aspect-ratio: 1200 / 630;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.055);
  overflow: hidden;
  border-radius: 8px;
  margin: -4px -4px 16px;
}

.career-hub .career-featured-grid .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.career-hub .career-icon {
  background: #eeecff;
  color: #4338ca;
}

.career-hub .career-marker {
  background: #eeecff;
  color: #4338ca;
}

.career-hub .category-insight {
  position: relative;
  overflow: hidden;
  border-color: rgba(15, 23, 42, 0.075);
  background:
    linear-gradient(135deg, rgba(91, 76, 230, 0.05), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.career-hub .category-insight::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #5b4ce6, #8b5cf6, #38bdf8);
}

.career-hub .insight-item {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.career-hub .career-workflow-band {
  position: relative;
  overflow: hidden;
  border-color: rgba(91, 76, 230, 0.12);
  background:
    linear-gradient(135deg, rgba(91, 76, 230, 0.045), rgba(255, 255, 255, 0) 48%),
    #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.career-hub .career-workflow-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #5b4ce6, #8b5cf6);
}

.career-hub .tools-related-card:hover {
  border-color: rgba(91, 76, 230, 0.24);
}

@media (max-width: 640px) {
  .career-hub .page-hero > *,
  .career-hub .hero-panel {
    min-width: 0;
    max-width: 100%;
  }

  .career-hub .page-hero.page-hero-small h1 {
    font-size: clamp(1.95rem, 10vw, 2.55rem);
  }

  .career-hub .hero-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .career-hub .hero-tool-cta {
    display: none;
  }
}
