/* =======================================================
   Happy Retired Home Events By Date v1
   View only. Event card styling lives in event-card.css.
======================================================= */

.hr-home-events-by-date {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 20px;
}

.hr-home-events-by-date__header {
    text-align: center;
    margin-bottom: 42px;
}

.hr-home-events-by-date__header h2 {
    margin: 0 0 12px;
    color: #343434;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

.hr-home-events-by-date__header p {
    margin: 0;
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

.hr-event-date-group {
    margin-top: 48px;
}

.hr-home-events-by-date__header + .hr-event-date-group,
.hr-event-date-group:first-of-type {
    margin-top: 0;
}

.hr-event-date-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e5e5;
}

.hr-event-date-heading__date {
    color: #343434;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.hr-event-date-heading__weekday {
    color: #ec7b3a;
    font-size: 18px;
    font-weight: 600;
}

.hr-home-events-by-date__more {
    margin-top: 48px;
    text-align: center;
}

.hr-home-events-by-date__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 28px;
    border-radius: 10px;
    background: #ec7b3a;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.hr-home-events-by-date__button:hover,
.hr-home-events-by-date__button:focus {
    background: #d86422;
    color: #fff;
}

.hr-events-empty {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 20px;
    color: #666;
    font-size: 16px;
}

@media (max-width: 640px) {
    .hr-home-events-by-date {
        padding: 44px 16px;
    }

    .hr-home-events-by-date__header {
        text-align: left;
        margin-bottom: 32px;
    }

    .hr-home-events-by-date__header h2 {
        font-size: 28px;
    }

    .hr-home-events-by-date__header p {
        font-size: 16px;
    }

    .hr-event-date-group {
        margin-top: 40px;
    }

    .hr-event-date-heading {
        display: block;
        margin-bottom: 18px;
    }

    .hr-event-date-heading__date {
        display: block;
        font-size: 26px;
    }

    .hr-event-date-heading__weekday {
        display: block;
        margin-top: 4px;
        font-size: 17px;
    }

    .hr-home-events-by-date__button {
        width: 100%;
    }
}
