/* ========================================================
   Mosteiro Urbano Zen Therigatha — Programação
   ======================================================== */

:root {
    --tgp-vinho: #732B44;
    --tgp-vinho-escuro: #5a2135;
}

/* ---- Filtros (mês / tipo) ---- */

.tgp-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    max-width: 900px;
    margin: 0 auto 32px;
    padding: 20px 24px;
    background: #f5f4f2;
    border-radius: 8px;
}

.tgp-filtro-campo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
}

.tgp-filtro-campo label {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #555;
}

.tgp-filtro-campo select {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    font-family: inherit;
    font-size: 14px;
    line-height: normal;
    padding: 10px 12px;
    border: 1px solid #d5d2ce;
    border-radius: 4px;
    background-color: #fff;
    background-image: none;
    color: #222;
}

/* ---- Eventos ---- */

.tgp-eventos-lista {
    max-width: 900px;
    margin: 0 auto;
}

.tgp-mes-titulo {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 15px;
    font-weight: 700;
    color: var(--tgp-vinho);
    border-bottom: 2px solid var(--tgp-vinho);
    padding-bottom: 8px;
    margin: 40px 0 24px;
}

.tgp-mes-titulo:first-child {
    margin-top: 0;
}

.tgp-eventos-lista.tgp-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: none;
}

@media (min-width: 700px) {
    .tgp-eventos-lista.tgp-layout-grid.tgp-cols-1 { grid-template-columns: 1fr; }
    .tgp-eventos-lista.tgp-layout-grid.tgp-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .tgp-eventos-lista.tgp-layout-grid.tgp-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .tgp-eventos-lista.tgp-layout-grid.tgp-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.tgp-layout-lista .tgp-evento-card {
    padding: 28px 0;
    border-bottom: 1px solid #ebebeb;
}

.tgp-layout-lista .tgp-evento-card:first-child {
    padding-top: 0;
}

.tgp-evento-cabecalho {
    margin-bottom: 16px;
}

.tgp-evento-card-top {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.tgp-data-col {
    flex: 0 0 150px;
    width: 150px;
}

.tgp-data-badge {
    background: var(--tgp-vinho);
    color: #fff;
    border-radius: 6px;
    padding: 14px 8px;
    text-align: center;
}

.tgp-data-dia {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.tgp-data-mes {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    opacity: 0.9;
}

.tgp-evento-quando {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid #ebebeb;
    font-size: 13.5px;
    line-height: 1.6;
    color: #444;
    text-align: center;
}

.tgp-evento-local {
    color: #777;
}

.tgp-saiba-mais-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: transparent;
    border: 1px solid var(--tgp-vinho);
    border-radius: 4px;
    padding: 9px 14px;
    color: var(--tgp-vinho);
    font-weight: 700;
    font-size: 13.5px;
    text-align: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.tgp-saiba-mais-btn:hover {
    background: var(--tgp-vinho);
    color: #fff;
}

.tgp-evento-card-img {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.tgp-evento-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tgp-tipo-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tgp-vinho);
    border: 1px solid var(--tgp-vinho);
    border-radius: 20px;
    padding: 2px 10px;
    margin-bottom: 8px;
}

.tgp-evento-titulo {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #222;
}

.tgp-evento-detalhes {
    margin-top: 14px;
    padding: 16px 18px;
    background: #f8f6f3;
    border-left: 3px solid var(--tgp-vinho);
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.tgp-evento-detalhes[hidden] {
    display: none;
}

.tgp-evento-descricao p {
    margin: 0 0 0.7em;
}

.tgp-evento-descricao p:last-child {
    margin-bottom: 0;
}

.tgp-evento-contribuicao,
.tgp-evento-inscricao,
.tgp-evento-inscricao-link {
    margin: 8px 0 0;
}

.tgp-evento-inscricao-link a {
    color: var(--tgp-vinho);
    font-weight: 600;
}

.tgp-sem-eventos {
    text-align: center;
    color: #777;
}

/* Layout em grade (ex.: destaques na home): mesmo cartão selo+foto lado a
   lado, só que dentro de uma moldura e em colunas — sem divisor de mês. */

.tgp-layout-grid .tgp-evento-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 18px;
}

.tgp-layout-grid .tgp-data-col {
    flex: 0 0 120px;
    width: 120px;
}

.tgp-layout-grid .tgp-data-dia {
    font-size: 20px;
}

.tgp-layout-grid .tgp-evento-card-img {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
}

/* ---- Programação fixa (grade semanal) ---- */

.tgp-fixa-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.tgp-dia-card {
    background: #f8f6f3;
    border-top: 3px solid var(--tgp-vinho);
    padding: 20px;
}

.tgp-dia-titulo {
    margin: 0 0 14px;
    font-size: 17px;
    font-weight: 700;
    color: var(--tgp-vinho);
}

.tgp-dia-horarios {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tgp-dia-horario-item {
    margin-bottom: 14px;
}

.tgp-dia-horario-item:last-child {
    margin-bottom: 0;
}

.tgp-dia-hora {
    display: block;
    font-weight: 700;
    color: #222;
    font-size: 15px;
}

.tgp-dia-atividade {
    display: block;
    color: #333;
    font-size: 14px;
}

.tgp-dia-detalhe {
    display: block;
    color: #777;
    font-size: 12.5px;
}
