html {
    scroll-behavior: smooth;
}

body {
    text-rendering: optimizeLegibility;
}

.home-feature-card {
    display: flex;
    flex-direction: column;
}

.home-section-head {
    flex: 0 0 auto;
    min-height: 2rem;
}

.home-feature-grid {
    flex: 1 1 auto;
    min-height: 0;
}

.home-feature-grid > div {
    min-height: 0;
    overflow: hidden;
}

#honors .home-feature-grid > div {
    display: flex;
    flex-direction: column;
}

#honors .home-feature-grid > div > div:last-child {
    margin-top: auto;
}

.hero-slice {
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.calendar-day {
    min-height: 1.35rem;
}

.calendar-day.is-outside {
    color: rgb(148 163 184);
    background: rgb(248 250 252);
}

.calendar-day.is-today {
    outline: 2px solid rgb(5 150 105);
    outline-offset: -2px;
}

.calendar-event-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    flex: 0 0 auto;
}

.calendar-date-badge {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.calendar-category-important {
    background: rgb(16 185 129);
}

.calendar-category-cert {
    background: rgb(14 165 233);
}

.calendar-category-career {
    background: rgb(245 158 11);
}

.calendar-category-competition {
    background: rgb(99 102 241);
}

.calendar-category-other {
    background: rgb(100 116 139);
}

@media (max-width: 767px) {
    .hero-slice {
        clip-path: none;
    }
}

@media (min-width: 1024px) {
    .home-feature-card {
        height: 17.875rem;
    }

    .home-feature-grid {
        grid-auto-rows: minmax(0, 1fr);
    }

    .home-feature-grid > div {
        height: 100%;
    }
}
