/* Industry & case-study chrome (icons, thumbs, hero art) */

html[data-theme="dark"] .ind-card-chrome {
  position: relative;
  margin: -0.75rem -0.85rem 0.85rem;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

html[data-theme="dark"] a.ind-card {
  padding-top: 0.75rem !important;
  text-decoration: none;
  color: inherit;
}

html[data-theme="dark"] .ind-card-thumb {
  height: 88px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.15) contrast(1.05);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"] a.ind-card:hover .ind-card-thumb {
  transform: scale(1.08);
}

html[data-theme="dark"] .ind-card-icon {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  bottom: 0.65rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(6, 8, 15, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 20px rgba(10, 165, 255, 0.25);
  color: var(--ds-accent-2);
  font-size: 1.05rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

html[data-theme="dark"] a.ind-card:hover .ind-card-icon,
html[data-theme="dark"] .ind-card:hover .ind-card-icon--overlay {
  transform: scale(1.08);
  box-shadow: 0 0 28px rgba(10, 165, 255, 0.45);
}

html[data-theme="dark"] .ind-card-icon--overlay {
  top: 0.65rem;
  right: 0.65rem;
  left: auto;
  bottom: auto;
}

html[data-theme="dark"] .ind-card-media {
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .ind-card-media .ind-card-icon--overlay {
  position: absolute;
}

html[data-theme="dark"] a.ind-card h5 {
  color: var(--ds-heading);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

html[data-theme="dark"] a.ind-card p {
  color: var(--ds-muted);
  font-size: 0.9rem;
}

/* Case study industry heroes */
html[data-theme="dark"] .cs-detail-hero {
  position: relative;
  --cs-hero-image: url("https://images.unsplash.com/photo-1639762681485-074b7f938ba0?w=900&auto=format&fit=crop");
  --cs-accent: #38bdf8;
}

html[data-theme="dark"] .cs-detail-hero::before {
  background-image: var(--cs-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.28;
}

html[data-theme="dark"] .cs-industry-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(129, 140, 248, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 32px rgba(10, 165, 255, 0.2);
  color: var(--cs-accent, var(--ds-accent-2));
  font-size: 1.25rem;
  animation: ds-float 6s ease-in-out infinite;
}

html[data-theme="dark"] .cs-hero-frame {
  margin-top: 1.5rem;
}

html[data-theme="dark"] .cs-detail-hero--manufacturing {
  --cs-accent: #38bdf8;
}
html[data-theme="dark"] .cs-detail-hero--hospitality {
  --cs-accent: #f472b6;
}
html[data-theme="dark"] .cs-detail-hero--healthcare {
  --cs-accent: #34d399;
}
html[data-theme="dark"] .cs-detail-hero--crm {
  --cs-accent: #a78bfa;
}
html[data-theme="dark"] .cs-detail-hero--ai {
  --cs-accent: #22d3ee;
}
html[data-theme="dark"] .cs-detail-hero--analytics {
  --cs-accent: #fbbf24;
}

html[data-theme="dark"] .industry-section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

html[data-theme="dark"] .industry-section-head .ind-card-icon {
  position: static;
  flex-shrink: 0;
}

html[data-theme="dark"] .industry-section-head h2 {
  margin: 0;
  padding-top: 0.35rem;
}

html[data-theme="dark"] section.anchor {
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

html[data-theme="dark"] section.anchor:last-of-type {
  border-bottom: none;
}
