﻿/* =========================================================
   Programação Home — LISTA estilo "print" (ph-item)
   (usar junto com o Razor da lista)
========================================================= */

#programacao .ph-item {
    background: var(--ph-card);
    border: 2px solid rgba(15,23,42,.18);
    border-radius: 12px;
    overflow: hidden;
    min-height: 112px;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

    #programacao .ph-item:hover {
        border-color: #FDBA2F; /* amarelo SESC */
        box-shadow: var(--ph-shadow-sm);
        transform: translateY(-1px);
    }

/* Coluna da data (esquerda) */
#programacao .ph-date {
    width: 92px;
    background: #FDBA2F;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    position: relative;
    flex: 0 0 auto;
}

    #programacao .ph-date::after {
        content: "";
        position: absolute;
        right: 0;
        top: 14px;
        bottom: 14px;
        width: 3px;
        background: var(--ph-brand); /* linha azul */
        border-radius: 2px;
    }

#programacao .ph-day {
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    color: var(--ph-brand);
}

#programacao .ph-month {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .5px;
    color: var(--ph-brand);
}

#programacao .ph-sep {
    width: 28px;
    height: 1px;
    background: rgba(0,76,153,.35);
    margin: 8px 0;
}

/* Conteúdo do card */
#programacao .ph-content {
    padding: 14px 16px;
    min-width: 0;
}

#programacao .ph-meta {
    font-size: 12px;
    color: var(--ph-muted);
    line-height: 1.2;
    margin-bottom: 6px;
}

#programacao .ph-title {
    font-weight: 800;
    color: var(--ph-text);
    line-height: 1.2;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#programacao .ph-sub {
    margin-top: 8px;
    font-size: 12px;
    color: var(--ph-muted);
}

/* Responsivo */
@media (max-width: 576px) {
    #programacao .ph-date {
        width: 84px;
    }

    #programacao .ph-title {
        font-size: 15px;
    }
}
