﻿/* earnings-headline.css
   Shared earnings headline + surprise donut component (EarningsHeadline
   ViewComponent). The donut itself reuses .eps-surp / .tn-surp-svg from the
   surprise component; these rules only lay out the headline + donut pairing. */

.eh-earnings {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--border, #D6DCE6);
    border-radius: 12px;
    background: var(--surface, #FFFFFF);
    color: var(--text, #050505);
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}

a.eh-earnings:hover {
    border-color: var(--border-strong, #B8C1D1);
    background: var(--surface-alt, #EEF1F6);
    color: var(--text, #050505);
}

.eh-surp {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    /* Match the surprise donut size used on EPS Details. */
    .eh-surp .tn-surp-svg {
        width: 84px;
        height: 84px;
        overflow: visible;
    }

.eh-text {
    flex: 1 1 auto;
    min-width: 0;
}

.eh-headline {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
}

.eh-date {
    margin-top: 4px;
    font-size: .8rem;
    color: var(--text-muted, #5B6472);
}
