*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.calendar-results-pending .result-sensitive,
body.hide-results .result-sensitive {
    filter: blur(6px);
    user-select: none;
}

body {
    min-width: 320px;
    margin: 0;
    color: #171719;
    background: #f5f5f5;
    font-family: Inter, Arial, sans-serif;
}

button,
input,
select {
    font: inherit;
}

[hidden] {
    display: none !important;
}

.page-shell {
    width: min(calc(100% - 64px), 1220px);
    margin: 0 auto;
}

.site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 104px;
}

.brand {
    display: grid;
    grid-template-areas: "mark title" "tagline tagline";
    grid-template-columns: 49px minmax(0, 1fr);
    align-items: center;
    gap: 5px 12px;
    min-width: 0;
}

.mark {
    grid-area: mark;
    width: 49px;
    height: 58px;
    object-fit: contain;
}

.brand-wordmark {
    grid-area: title;
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-tagline {
    grid-area: tagline;
}

.impact-main-nav {
    display: flex;
    min-height: 48px;
    align-items: center;
}

.home-ticker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 52px;
}

.home-ticker-content {
    min-width: 0;
    min-height: 52px;
}

.home-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 405px;
    gap: 20px;
}

.home-featured-placeholder {
    display: flex;
    min-height: 405px;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.home-schedule-list {
    min-height: 310px;
}

.home-schedule-list.is-loading {
    display: grid;
    gap: 8px;
}

.home-schedule-placeholder {
    display: block;
    min-height: 56px;
}

@media (max-width: 760px) {
    .page-shell {
        width: min(calc(100% - 36px), 1220px);
    }
}

@media (max-width: 560px) {
    .home-featured-grid {
        grid-template-columns: 1fr;
    }
}
