/* page-trending-stocks.css -- the styles of trending-stocks.html that no other page uses (sprint eqseo1).
   Tokens only (tokens.css); the list, table and CTA follow page-sector-rotation.css. */

p.lede { margin-bottom: 8px; }
.cta-row { margin: 28px 0 8px; }
.cta-row a { display: inline-block; background: var(--green-dark); color: var(--white); padding: 13px 26px; border-radius: var(--radius-control); text-decoration: none; font-size: 14px; font-weight: var(--fw-medium); }
.cta-row a:hover { background: var(--green-hover); }

.ts-asof { color: var(--slate); font-size: var(--fs-small); margin-bottom: 4px; }
.ts-stale { color: var(--charcoal); font-size: var(--fs-small); background: var(--panel); border: var(--hairline); border-radius: var(--radius-card); padding: 10px 14px; }
.ts-note { color: var(--muted); font-size: var(--fs-small); margin-top: 12px; }

.ts-list { list-style: none; padding: 0; margin: 8px 0 20px; display: grid; gap: 10px; }
.ts-list li { display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "pos ticker name count"; align-items: baseline; column-gap: 12px; background: var(--panel); border: var(--hairline); border-radius: var(--radius-card); padding: 14px 16px; }
.ts-pos { grid-area: pos; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--muted); white-space: nowrap; }
.ts-ticker { grid-area: ticker; font-family: var(--mono); font-weight: var(--fw-semibold); color: var(--charcoal); white-space: nowrap; }
.ts-name { grid-area: name; color: var(--slate); min-width: 0; }
.ts-mkt { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--muted); border: var(--hairline); border-radius: var(--radius-control); padding: 2px 6px; margin-left: 6px; white-space: nowrap; }
.ts-count { grid-area: count; font-family: var(--mono); font-size: var(--fs-small); color: var(--charcoal); white-space: nowrap; }

.ts-record { width: 100%; border-collapse: separate; border-spacing: 0; margin: 8px 0 16px; font-size: var(--fs-small); }
.ts-record th, .ts-record td { padding: 10px 14px; text-align: left; vertical-align: top; background: var(--panel); border-bottom: var(--hairline); }
.ts-record tr > :first-child { border-left: var(--hairline); }
.ts-record tr > :last-child { border-right: var(--hairline); }
.ts-record thead th { border-top: var(--hairline); font-family: var(--mono); font-size: var(--fs-label); font-weight: var(--fw-medium); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.ts-record thead th:first-child { border-top-left-radius: var(--radius-card); }
.ts-record thead th:last-child { border-top-right-radius: var(--radius-card); }
.ts-record tbody tr:last-child > :first-child { border-bottom-left-radius: var(--radius-card); }
.ts-record tbody tr:last-child > :last-child { border-bottom-right-radius: var(--radius-card); }
.ts-record tbody th { font-family: var(--mono); font-weight: var(--fw-medium); color: var(--charcoal); white-space: nowrap; }
.ts-record td { color: var(--slate); }
.ts-record small { color: var(--muted); }
.ts-rt { font-family: var(--mono); font-weight: var(--fw-medium); color: var(--charcoal); }

.faq-list h3 { margin-top: 24px; }

@media (max-width: 480px) {
  .ts-list li { grid-template-columns: auto 1fr auto; grid-template-areas: "pos ticker count" "name name name"; row-gap: 4px; }
  .ts-record th, .ts-record td { padding: 9px 8px; }
  .ts-record { font-size: 14px; }
  .cta-row a { display: block; text-align: center; }
}
