
/* =========================================================
   HOJE NA PARÓQUIA
   Paleta: Rosa Bebê
========================================================= */

.today-section {
    width: 100%;
    padding: 2rem 0;
}


/* =========================================================
   CARD PRINCIPAL
========================================================= */

.today-card {
    height: 100%;
    padding: 1.75rem;

    background: #ffffff;

    border: 1px solid #f0dce1;
    border-radius: 16px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   CABEÇALHO
========================================================= */

.today-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    margin-bottom: 1.25rem;
    padding-bottom: 1rem;

    border-bottom: 1px solid #f2e4e7;
}


/* "Programação" */

.today-header .section-eyebrow {
    display: block;

    margin-bottom: 0.25rem;

    color: #d98fa3 !important;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    line-height: 1.2;

    text-transform: uppercase;
}


/* "Hoje na Paróquia" */

.today-header h2 {
    margin: 0;

    color: #343a40 !important;

    font-size: 1.35rem;
    font-weight: 600;

    line-height: 1.3;
}


/* =========================================================
   DATA
========================================================= */

.today-date {
    display: flex;
    flex-direction: column;

    align-items: flex-end;

    text-align: right;

    white-space: nowrap;
}


.today-date strong {
    color: #343a40 !important;

    font-size: 1.05rem;
    font-weight: 700;
}


.today-date span {
    margin-top: 2px;

    color: #d98fa3 !important;

    font-size: 0.75rem;
    font-weight: 600;

    text-transform: uppercase;
}


/* =========================================================
   EVENTOS
========================================================= */

.today-events {
    display: flex;
    flex-direction: column;
}


.today-event {
    display: grid;

    grid-template-columns:
        55px
        42px
        1fr
        20px;

    align-items: center;

    gap: 0.75rem;

    padding: 0.9rem 0;

    color: inherit;

    text-decoration: none;

    border-bottom: 1px solid #f2e4e7;

    transition:
        background-color 0.2s ease,
        padding 0.2s ease;
}


.today-event:hover {
    padding-left: 0.4rem;
    padding-right: 0.4rem;

    background: #fff5f7;
}


/* =========================================================
   HORÁRIO
========================================================= */

.today-event-time {
    color: #d98fa3 !important;

    font-size: 0.9rem;
    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   ÍCONE
========================================================= */

.today-event-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: #fbebef;

    border-radius: 50%;

    color: #d98fa3 !important;

    font-size: 0.95rem;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.today-event-content {
    min-width: 0;
}


.today-event-content h3 {
    overflow: hidden;

    margin: 0 0 0.25rem;

    color: #343a40 !important;

    font-size: 0.95rem;
    font-weight: 600;

    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.today-event-content span {
    display: flex;

    align-items: center;

    gap: 0.3rem;

    overflow: hidden;

    color: #6c757d !important;

    font-size: 0.78rem;

    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.today-event-content span i {
    color: #d98fa3 !important;
}


/* =========================================================
   SETA
========================================================= */

.today-event-arrow {
    color: #c7aeb5;

    font-size: 0.8rem;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.today-event:hover .today-event-arrow {
    color: #d98fa3;

    transform: translateX(3px);
}


/* =========================================================
   SEM EVENTOS
========================================================= */

.today-empty {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 150px;

    padding: 1.5rem;

    color: #6c757d;

    text-align: center;
}


.today-empty i {
    margin-bottom: 0.6rem;

    color: #d98fa3;

    font-size: 1.7rem;
}


.today-empty p {
    margin: 0;

    color: #6c757d !important;

    font-size: 0.9rem;
}


/* =========================================================
   RODAPÉ
========================================================= */

.today-footer {
    padding-top: 1.25rem;
}


.today-footer .btn {
    display: inline-flex;

    align-items: center;

    gap: 0.45rem;

    color: #d98fa3 !important;

    border-color: #d98fa3 !important;

    font-size: 0.85rem;
}


.today-footer .btn:hover {
    color: #ffffff !important;

    background: #d98fa3 !important;

    border-color: #d98fa3 !important;
}


/* =========================================================
   PRÓXIMA MISSA
========================================================= */

.next-mass-card {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;

    overflow: hidden;

    padding: 1.75rem;

    background: #ffffff;

    border: 1px solid #f0dce1;
    border-radius: 16px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);

    color: #343a40 !important;
}


/* Barra lateral */

.next-mass-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background: #d98fa3;
}


/* =========================================================
   ÍCONE
========================================================= */

.next-mass-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-bottom: 1rem;

    background: #fbebef;

    border-radius: 50%;

    color: #d98fa3 !important;

    font-size: 1.25rem;
}


/* =========================================================
   LABEL
========================================================= */

.next-mass-label {
    display: block;

    margin-bottom: 0.4rem;

    color: #d98fa3 !important;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   TÍTULO
========================================================= */

.next-mass-card h2 {
    margin: 0 0 1rem;

    color: #343a40 !important;

    font-size: 1.35rem;
    font-weight: 700;

    line-height: 1.3;
}


/* =========================================================
   HORÁRIO
========================================================= */

.next-mass-time {
    display: flex;

    align-items: center;

    gap: 0.55rem;

    margin-bottom: 0.75rem;

    color: #d98fa3 !important;
}


.next-mass-time i {
    font-size: 1.1rem;
}


.next-mass-time strong {
    color: #d98fa3 !important;

    font-size: 2rem;
    font-weight: 800;

    line-height: 1;
}


/* =========================================================
   LOCAL
========================================================= */

.next-mass-local {
    display: flex;

    align-items: flex-start;

    gap: 0.5rem;

    color: #6c757d !important;

    font-size: 0.9rem;

    line-height: 1.4;
}


.next-mass-local i {
    margin-top: 2px;

    flex-shrink: 0;

    color: #d98fa3 !important;
}


/* =========================================================
   DESCRIÇÃO
========================================================= */

.next-mass-description {
    margin: 1.5rem 0 1.25rem;

    color: #6c757d !important;

    font-size: 0.92rem;
    font-weight: 400;

    line-height: 1.6;
}


/* =========================================================
   BOTÃO
========================================================= */

.next-mass-card .btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 0.45rem;

    margin-top: auto;

    color: #d98fa3 !important;

    background: #ffffff;

    border: 1px solid #d98fa3;

    font-size: 0.85rem;
    font-weight: 600;
}


.next-mass-card .btn:hover {
    color: #ffffff !important;

    background: #d98fa3;

    border-color: #d98fa3;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 991.98px) {

    .today-card,
    .next-mass-card {
        height: auto;
    }

}


@media (max-width: 767.98px) {

    .today-section {
        padding: 1.5rem 0;
    }


    .today-card,
    .next-mass-card {
        padding: 1.35rem;
    }


    .today-header {
        align-items: flex-start;
    }


    .today-header h2 {
        font-size: 1.2rem;
    }


    .today-date strong {
        font-size: 0.9rem;
    }


    .today-event {
        grid-template-columns:
            48px
            38px
            1fr
            15px;

        gap: 0.5rem;
    }


    .today-event-icon {
        width: 34px;
        height: 34px;
    }


    .today-event-content h3 {
        font-size: 0.88rem;
    }


    .next-mass-card h2 {
        font-size: 1.2rem;
    }


    .next-mass-time strong {
        font-size: 1.8rem;
    }

}

/* =========================================================
   EVENTO JÁ REALIZADO
========================================================= */

.today-event-passed {
    opacity: 0.50;
}


/*
 * Horário
 */

.today-event-passed .today-event-time {
    text-decoration: line-through;
}


/*
 * Título
 */

.today-event-passed .today-event-content h3 {
    text-decoration: line-through;
}


/*
 * Local
 */

.today-event-passed .today-event-content span {
    text-decoration: line-through;
}


/*
 * Tipo
 */

.today-event-passed .today-event-type {
    text-decoration: line-through;
}


/*
 * Ícone
 */

.today-event-passed .today-event-icon {
    opacity: 0.65;
}


/*
 * Seta
 */

.today-event-passed .today-event-arrow {
    opacity: 0.45;
}