/* =========================================================
   AGENDA PAROQUIAL
   Paleta: Rosa Bebê
========================================================= */

.agenda-page-wrapper {
    min-height: 60vh;

    background: #fffafb;
}


/* =========================================================
   CABEÇALHO
========================================================= */

.agenda-page-header {
    position: relative;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 2rem;

    margin-bottom: 2rem;
    padding-bottom: 1.5rem;

    border-bottom: 1px solid #f0dce1;
}


.agenda-page-heading {
    flex: 1;
}


.agenda-page-eyebrow {
    display: block;

    margin-bottom: 0.3rem;

    color: #d98fa3;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.agenda-page-heading h1 {
    margin: 0;

    color: #343a40;

    font-size: 1.8rem;
    font-weight: 700;

    line-height: 1.25;
}


.agenda-page-heading p {
    margin: 0.45rem 0 0;

    color: #6c757d;

    font-size: 0.92rem;
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.agenda-page-navigation {
    display: flex;

    align-items: center;

    gap: 0.75rem;
}


.agenda-nav-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: #ffffff;

    border: 1px solid #edcfd7;

    border-radius: 50%;

    color: #d98fa3;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.agenda-nav-button:hover {
    background: #d98fa3;

    border-color: #d98fa3;

    color: #ffffff;
}


.agenda-page-month {
    display: flex;

    align-items: baseline;
    justify-content: center;

    gap: 0.4rem;

    min-width: 145px;

    color: #343a40;

    font-size: 1.1rem;
    font-weight: 600;

    text-align: center;
}


.agenda-page-month strong {
    color: #d98fa3;

    font-weight: 700;
}


/* =========================================================
   BOTÃO HOJE
========================================================= */

.agenda-today-button {
    position: absolute;

    right: 0;
    bottom: -48px;

    display: inline-flex;

    align-items: center;

    gap: 0.4rem;

    padding: 0.4rem 0.8rem;

    color: #d98fa3;

    font-size: 0.8rem;
    font-weight: 600;

    text-decoration: none;
}


.agenda-today-button:hover {
    color: #b96f85;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.agenda-page-content {
    max-width: 900px;

    margin: 0 auto;
}


/* =========================================================
   DIA
========================================================= */

.agenda-page-day {
    margin-bottom: 2rem;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #f0dce1;

    border-radius: 16px;

    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   CABEÇALHO DO DIA
========================================================= */

.agenda-page-day-header {
    display: flex;

    align-items: center;

    gap: 1rem;

    padding: 1rem 1.25rem;

    background: #fff5f7;

    border-bottom: 1px solid #f0dce1;
}


.agenda-page-date-number {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    flex-shrink: 0;

    background: #d98fa3;

    border-radius: 12px;

    color: #ffffff;

    font-size: 1.35rem;
    font-weight: 800;
}


.agenda-page-date-info {
    display: flex;

    flex-direction: column;

    gap: 0.15rem;
}


.agenda-page-date-info strong {
    color: #343a40;

    font-size: 1rem;
    font-weight: 700;

    text-transform: uppercase;
}


.agenda-page-date-info span {
    color: #6c757d;

    font-size: 0.82rem;
}


/* =========================================================
   EVENTOS
========================================================= */

.agenda-page-events {
    padding: 0 1.25rem;
}


.agenda-page-event {
    display: grid;

    grid-template-columns:
        80px
        42px
        1fr;

    align-items: start;

    gap: 1rem;

    padding: 1.15rem 0;

    border-bottom: 1px solid #f2e4e7;
}


.agenda-page-event:last-child {
    border-bottom: 0;
}


/* =========================================================
   HORÁRIO
========================================================= */

.agenda-page-event-time {
    padding-top: 0.15rem;

    color: #d98fa3;

    font-size: 0.95rem;
    font-weight: 800;

    text-align: right;

    white-space: nowrap;
}


.agenda-page-event-time.all-day {
    padding: 0.35rem 0.45rem;

    background: #fbebef;

    border-radius: 6px;

    color: #d98fa3;

    font-size: 0.68rem;

    text-align: center;

    letter-spacing: 0.03em;
}


/* =========================================================
   ÍCONE
========================================================= */

.agenda-page-event-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    background: #fbebef;

    border-radius: 50%;

    color: #d98fa3;

    font-size: 0.95rem;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.agenda-page-event-content h2 {
    margin: 0 0 0.4rem;

    color: #343a40;

    font-size: 1rem;
    font-weight: 650;

    line-height: 1.35;
}


.agenda-page-event-local {
    display: flex;

    align-items: flex-start;

    gap: 0.35rem;

    color: #6c757d;

    font-size: 0.82rem;

    line-height: 1.4;
}


.agenda-page-event-local i {
    margin-top: 2px;

    flex-shrink: 0;

    color: #d98fa3;
}


/* =========================================================
   TIPO
========================================================= */

.agenda-page-event-type {
    display: inline-block;

    margin-top: 0.65rem;

    padding: 0.25rem 0.55rem;

    background: #fff5f7;

    border: 1px solid #f0dce1;

    border-radius: 20px;

    color: #b96f85;

    font-size: 0.68rem;
    font-weight: 600;
}


/* =========================================================
   SEM EVENTOS
========================================================= */

.agenda-no-events {
    padding: 4rem 1.5rem;

    background: #ffffff;

    border: 1px solid #f0dce1;

    border-radius: 16px;

    text-align: center;
}


.agenda-no-events-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin: 0 auto 1rem;

    background: #fbebef;

    border-radius: 50%;

    color: #d98fa3;

    font-size: 1.5rem;
}


.agenda-no-events h2 {
    margin: 0 0 0.5rem;

    color: #343a40;

    font-size: 1.2rem;
}


.agenda-no-events p {
    margin: 0;

    color: #6c757d;

    font-size: 0.9rem;
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 767.98px) {

    .agenda-page-header {
        display: block;

        margin-bottom: 1.5rem;
    }


    .agenda-page-heading h1 {
        font-size: 1.5rem;
    }


    .agenda-page-heading p {
        font-size: 0.85rem;
    }


    .agenda-page-navigation {
        justify-content: center;

        margin-top: 1.25rem;
    }


    .agenda-page-month {
        min-width: 125px;

        font-size: 1rem;
    }


    .agenda-today-button {
        position: static;

        display: flex;

        justify-content: center;

        margin-top: 0.75rem;
    }


    .agenda-page-day-header {
        padding: 0.85rem 1rem;
    }


    .agenda-page-date-number {
        width: 46px;
        height: 46px;

        border-radius: 10px;

        font-size: 1.15rem;
    }


    .agenda-page-date-info strong {
        font-size: 0.9rem;
    }


    .agenda-page-events {
        padding: 0 1rem;
    }


    .agenda-page-event {
        grid-template-columns:
            65px
            36px
            1fr;

        gap: 0.65rem;

        padding: 1rem 0;
    }


    .agenda-page-event-time {
        font-size: 0.82rem;
    }


    .agenda-page-event-icon {
        width: 34px;
        height: 34px;
    }


    .agenda-page-event-content h2 {
        font-size: 0.9rem;
    }


    .agenda-page-event-local {
        font-size: 0.76rem;
    }

}
