﻿/* ============================================================
   home-pulse.css — subscriber home panel (Market Pulse).
   Three columns: Investor Sentiment, Conference Call Momentum, Revisions.

   The .sent-figure-* / .sent-up / .sent-down / .sent-flat rules are NOT
   redefined here — sentiment.css owns them, and Index.cshtml links it.
   That's deliberate: the sentiment column is meant to be the same block as
   the Sentiment page's, so it should inherit the same rules rather than a
   copy that quietly drifts (note .sent-flat is GOLD there, not grey).
   ============================================================ */

.mp-home {
    margin: 2.5rem 0;
}

.mp-title {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 1rem;
}

/* ---- Three columns ---- */

.mp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mp-col {
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface, transparent);
}

    /* The label wraps to two lines in a narrow column ("Earnings Whisper Sentiment
   Index"), so give the three columns a common floor and keep the big numbers
   on a shared baseline. */
    .mp-col .sent-figure-label {
        min-height: 2.6em;
    }

/* ---- Responsive ---- */

@media (max-width: 900px) {
    .mp-grid {
        grid-template-columns: 1fr;
    }

    .mp-col .sent-figure-label {
        min-height: 0;
    }
}
