
/*
 * Single brief polish: use-case and coverage pages should scan like analyst
 * briefs, not long articles broken into stacked boxes.
 */
.article-shell-use-case.card,
.article-shell-coverage.card {
  display: grid;
  width: 100%;
  min-width: 0;
}

.article-shell-use-case > *,
.article-shell-coverage > * {
  min-width: 0;
}

.article-shell-use-case .article-proof-card,
.article-shell-coverage .article-proof-card {
  position: relative;
  display: grid;
  align-content: start;
  overflow: hidden;
  min-width: 0;
  min-height: 148px;
}

.article-shell-use-case .article-proof-card::after,
.article-shell-coverage .article-proof-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(200, 184, 141, 0.92), rgba(200, 184, 141, 0.08));
  opacity: 0.5;
}

.article-shell-use-case .article-proof-card .panel-label,
.article-shell-coverage .article-proof-card .panel-label {
  min-height: 18px;
  color: rgba(238, 240, 242, 0.58);
  letter-spacing: 0.08em;
}

.article-shell-use-case .article-proof-card p:not(.panel-label),
.article-shell-coverage .article-proof-card p:not(.panel-label) {
  color: rgba(238, 240, 242, 0.64);
  font-size: 0.83rem;
  line-height: 1.46;
  -webkit-line-clamp: 5;
}

.proof-card-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--o4-premium-accent);
  opacity: 0.9;
}

.article-shell-use-case .tool-section-grid > .card,
.article-shell-coverage .tool-section-grid > .card {
  display: grid;
  align-content: start;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(200, 184, 141, 0.045), transparent 42%),
    #111318;
}

.article-shell-use-case .tool-section-grid > .card h2,
.article-shell-coverage .tool-section-grid > .card h2 {
  max-width: 18ch;
  margin: 0;
  color: #f4f1e9;
  font-size: clamp(1.16rem, 1.55vw, 1.62rem);
  line-height: 1.12;
}

.article-shell-use-case .tool-section-grid > .card h3,
.article-shell-coverage .tool-section-grid > .card h3 {
  margin: 8px 0 0;
  color: rgba(238, 240, 242, 0.76);
  font-size: 0.82rem;
  line-height: 1.25;
}

.article-shell-use-case .tool-section-grid > .card p,
.article-shell-use-case .tool-section-grid > .card li,
.article-shell-coverage .tool-section-grid > .card p,
.article-shell-coverage .tool-section-grid > .card li {
  margin: 0;
  color: rgba(238, 240, 242, 0.64);
  font-size: 0.9rem;
  line-height: 1.5;
}

.article-shell-use-case .tool-section-grid > .card .article-card-note,
.article-shell-coverage .tool-section-grid > .card .article-card-note {
  color: rgba(238, 240, 242, 0.55);
  font-size: 0.84rem;
  line-height: 1.44;
}

.article-shell-use-case .article-content,
.article-shell-coverage .article-content {
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--o4-premium-line);
}

.article-shell-use-case .article-content > :first-child,
.article-shell-coverage .article-content > :first-child {
  margin-top: 0;
}

.article-shell-use-case .article-content h2,
.article-shell-use-case .article-content h3,
.article-shell-coverage .article-content h2,
.article-shell-coverage .article-content h3 {
  max-width: 20ch;
  color: #f4f1e9;
  line-height: 1.14;
}

.article-shell-coverage .tool-card h3 {
  margin-top: 8px;
  font-size: clamp(1rem, 1.2vw, 1.24rem);
  line-height: 1.18;
}

.article-shell-coverage .tool-card-summary {
  display: -webkit-box;
  min-height: 2.8em;
  margin-top: 8px;
  overflow: hidden;
  color: rgba(238, 240, 242, 0.62);
  font-size: 0.84rem;
  line-height: 1.44;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-shell-coverage .tool-card > .badges {
  gap: 6px;
  margin-top: 11px;
}

.article-shell-coverage .tool-card .badge:nth-child(n+3) {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .article-shell-use-case .article-proof-card,
  .article-shell-coverage .article-proof-card,
  .article-shell-use-case .tool-section-grid > .card,
  .article-shell-coverage .tool-section-grid > .card {
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .article-shell-use-case .article-proof-card:hover,
  .article-shell-coverage .article-proof-card:hover,
  .article-shell-use-case .tool-section-grid > .card:hover,
  .article-shell-coverage .tool-section-grid > .card:hover {
    transform: translateY(-1px);
    border-color: rgba(200, 184, 141, 0.24);
  }
}

@media (max-width: 760px) {
  .article-shell-use-case .article-header-review,
  .article-shell-coverage .article-header-review {
    gap: 12px;
    padding-bottom: 18px;
  }

  .article-shell-use-case .article-header h1,
  .article-shell-coverage h1 {
    font-size: clamp(2.18rem, 10.4vw, 3rem);
    line-height: 0.98;
  }

  .article-shell-use-case .section-intro,
  .article-shell-coverage .section-intro {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .article-shell-use-case .badges .badge:nth-child(n+4),
  .article-shell-coverage .badges .badge:nth-child(n+4) {
    display: none;
  }

  .article-shell-use-case .article-proof-grid,
  .article-shell-coverage .article-proof-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px;
    overflow-x: auto;
    margin-top: 16px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .article-shell-use-case .article-proof-grid::-webkit-scrollbar,
  .article-shell-coverage .article-proof-grid::-webkit-scrollbar {
    display: none;
  }

  .article-shell-use-case .article-proof-card,
  .article-shell-coverage .article-proof-card {
    flex: 0 0 min(82vw, 310px);
    min-height: 154px;
    padding: 14px;
    border: 1px solid var(--o4-premium-line);
    border-radius: 8px;
    background: #111318;
    scroll-snap-align: start;
  }

  .article-shell-use-case .article-proof-card p:not(.panel-label),
  .article-shell-coverage .article-proof-card p:not(.panel-label) {
    font-size: 0.82rem;
    line-height: 1.44;
    -webkit-line-clamp: 5;
  }

  .article-shell-use-case .tool-section-grid,
  .article-shell-coverage .tool-section-grid {
    gap: 10px;
    margin-top: 16px;
  }

  .article-shell-use-case .tool-section-grid > .card,
  .article-shell-coverage .tool-section-grid > .card {
    padding: 15px;
    border-radius: 8px;
  }

  .article-shell-use-case .tool-section-grid > .card h2,
  .article-shell-coverage .tool-section-grid > .card h2 {
    max-width: none;
    font-size: 1.18rem;
  }

  .article-shell-use-case .tool-section-grid > .card > p,
  .article-shell-coverage .tool-section-grid > .card > p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.86rem;
    line-height: 1.44;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .article-shell-use-case .section,
  .article-shell-coverage .section {
    padding: 24px 0;
  }

  .article-shell-use-case .section-head-inline,
  .article-shell-coverage .section-head-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .article-shell-use-case .section-link,
  .article-shell-coverage .section-link {
    justify-self: start;
  }

  .article-shell-use-case .article-content,
  .article-shell-coverage .article-content {
    margin-top: 22px;
    padding-top: 22px;
    font-size: 0.95rem;
    line-height: 1.62;
  }
}
