/* ==========================================================
   PUBLIC COMPANY PLATFORM -- HERO, Home's own first section
   (Company::public.home_sections.hero). Never uses .cp-shell/
   .cp-home-section__inner -- it's always its own edge-to-edge band,
   which is exactly why HomepageSectionRenderer never passes it a full-
   width flag the way every other section gets one.
========================================================== */

.cp-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
    padding: 32px 20px 40px;
    background: linear-gradient(135deg, var(--cp-primary, #137A5A), var(--cp-accent, #137A5A));
    background-size: cover;
    background-position: center;
    color: var(--cp-inverse);
    text-align: left;
}

.cp-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%);
}

.cp-hero__content {
    position: relative;
    max-width: 640px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cp-hero__logo {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: var(--cp-radius-lg);
    background: var(--cp-surface);
    border: 4px solid var(--cp-surface);
    box-shadow: 0 4px 18px rgba(0,0,0,.2);
    display: grid;
    place-items: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--cp-primary, #137A5A);
    overflow: hidden;
}

.cp-hero__logo img { width: 100%; height: 100%; object-fit: cover; }

.cp-hero__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cp-hero__name {
    margin: 0;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -.01em;
}

.cp-hero__tagline {
    margin: 0;
    font-size: 17px;
    opacity: .92;
    max-width: 52ch;
}

.cp-hero__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.cp-meta--hero {
    margin: 0;
}

.cp-meta--hero li {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.3);
    color: var(--cp-inverse);
}

.cp-hero__actions .cp-follow-btn {
    margin-left: 0;
}

@media (max-width: 560px) {
    .cp-hero { min-height: 320px; padding: 24px 20px 32px; }
}
